Skip to content

#cbf342

a balanced, electric green · warm · closest name: Green Yellow

RGB
203, 243, 66
HSL
74°, 88%, 61%
CMYK
17, 0, 73, 5
Luminance
0.7719

At a glance

Every number on this page in one read: what #cbf342 is made of, how bright it looks, and which way it leans.

Hex
#cbf342
Hue
74°
green
Saturation
88%
electric
Lightness
61%
balanced
Brightness
95%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7719
WCAG relative
Temperature
Warm
36/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.44:1
Closest name
Green Yellow
ΔE2000 5.7
Where it sits
Hue74° of 360°
Saturation88%
Lightness61%
Temperature
Warm ← → Cool36% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cbf342
RGBrgb(203, 243, 66)
HSLhsl(74, 88%, 61%)
CMYKcmyk(17%, 0%, 73%, 5%)
LABlab(90.4 -35.4 75.7)
LCHlch(90.4 83.6 115.0)
OKLCHoklch(0.905 0.198 121.8)
Decimal13366082
Display P3color(display-p3 0.796 0.953 0.259)

Copy-ready code

/* CSS */
color: #cbf342;
background-color: #cbf342;
/* Tailwind (arbitrary) */
class="text-[#cbf342] bg-[#cbf342]"
/* SCSS */
$brand: #cbf342;
/* SwiftUI */
Color(red: 0.796, green: 0.953, blue: 0.259)
/* Android */
Color.parseColor("#cbf342")
/* Flutter */
Color(0xFFCBF342)
/* Python / OpenCV (BGR) */
(66, 243, 203)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cbf342 · 16.44:1
Use #000000AAA at every size.
Aa
White text · 1.28:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.44:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cbf342 as text scores 1.28:1 on white and 16.44:1 on black.

Accessibility — WCAG contrast

Aa
#cbf342 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cbf342 on black: 16.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE41C
deuteranopia · #FDE452
tritanopia · #D6E7D1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cbf342 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFDF2
#F6FAE5
#ECF8C4
#E2F895
#D3F561
#cbf342
#B5E60F
#97C00C
#79990A
#586F0C
#374507
Base = 500Lightest = 50 · #FAFDF2Darkest = 950 · #374507
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F6FAE5;
  --brand-200: #ECF8C4;
  --brand-300: #E2F895;
  --brand-400: #D3F561;
  --brand-500: #cbf342;
  --brand-600: #B5E60F;
  --brand-700: #97C00C;
  --brand-800: #79990A;
  --brand-900: #586F0C;
  --brand-950: #374507;
  --brand: #cbf342;
  --brand-ink: #000000;
}

Colors that work with #cbf342

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E2EDC0
Hairlines and dividers
Muted text#899B4B
Captions on the surface
Accent#3E42F7
Second voice, not a rival
Dark variant#5E7808
Hover, pressed, headers
Light variant#F8FDE7
Selected rows, tints
Dark surface#212414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cbf342

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#6A42F3
Analogous left#F3C342
Analogous right#72F342
Split-complement 1#4272F3
Split-complement 2#C342F3
Triadic 1#42CBF3
Triadic 2#F342CB
Tetradic#42F3C3

RGB percentages

Red79.6%
Green95.3%
Blue25.9%

CMYK percentages

Cyan16.5%
Magenta0.0%
Yellow72.8%
Key (black)4.7%

Color previews

#cbf342 text on a black background

contrast 16.44:1

Card sample

#cbf342 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cbf342;
Background color
Panel with #cbf342 background
background-color: #cbf342;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cbf342;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 243, 66, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 243, 66, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf342;
background: linear-gradient(135deg, #cbf342, #55F342);

Monochromatic scale

Palettes built from #cbf342

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cbf342 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cbf342, answered

What color is #cbf342?

#cbf342 is a balanced electric green, closest to Green Yellow (ΔE2000 5.7). It sits at 74° on the hue wheel with 88% saturation and 61% lightness, which reads as warm.

What is the RGB value of #cbf342?

rgb(203, 243, 66) — 203 red, 243 green and 66 blue out of 255, or 79.6% / 95.3% / 25.9% by channel.

Is #cbf342 a light or a dark color?

It is a light color. Relative luminance is 0.7719 and perceived brightness is 85%, so black text on it reaches 16.44:1.

Should I use black or white text on #cbf342?

Black. It scores 16.44:1 against #cbf342, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #cbf342?

#6A42F3 sits directly opposite on the wheel. Softer options are the split-complements #4272F3 and #C342F3, which give the same contrast with far less vibration.

What colors go well with #cbf342?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #899B4B for secondary text, #3E42F7 as an accent and #5E7808 for hover and pressed states. For a palette, the analogous pair #F3C342 and #72F342 stays calm, while #6A42F3 is the loudest partner.

What is #cbf342 in CMYK for printing?

cmyk(17%, 0%, 73%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cbf342 warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F3DA42; nudged cooler, #8AF540.

Work with #cbf342 in the Color Lab