Skip to content

#caff3b

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

RGB
202, 255, 59
HSL
76°, 100%, 62%
CMYK
21, 0, 77, 0
Luminance
0.8439

At a glance

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

Hex
#caff3b
Hue
76°
green
Saturation
100%
electric
Lightness
62%
balanced
Brightness
100%
HSV value
Perceived
88%
weighted brightness
Luminance
0.8439
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.88:1
Closest name
Green Yellow
ΔE2000 3.9
Where it sits
Hue76° of 360°
Saturation100%
Lightness62%
Temperature
Warm ← → Cool38% 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#caff3b
RGBrgb(202, 255, 59)
HSLhsl(76, 100%, 62%)
CMYKcmyk(21%, 0%, 77%, 0%)
LABlab(93.6 -41.4 80.8)
LCHlch(93.6 90.8 117.1)
OKLCHoklch(0.931 0.215 124.3)
Decimal13303611
Display P3color(display-p3 0.792 1.000 0.231)

Copy-ready code

/* CSS */
color: #caff3b;
background-color: #caff3b;
/* Tailwind (arbitrary) */
class="text-[#caff3b] bg-[#caff3b]"
/* SCSS */
$brand: #caff3b;
/* SwiftUI */
Color(red: 0.792, green: 1.000, blue: 0.231)
/* Android */
Color.parseColor("#caff3b")
/* Flutter */
Color(0xFFCAFF3B)
/* Python / OpenCV (BGR) */
(59, 255, 202)

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 #caff3b · 17.88:1
Use #000000AAA at every size.
Aa
White text · 1.17:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #caff3b as text scores 1.17:1 on white and 17.88:1 on black.

Accessibility — WCAG contrast

Aa
#caff3b on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#caff3b on black: 17.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEE00
deuteranopia · #FFEC4F
tritanopia · #D4F2DB

Color scale — 50 to 950

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

#FAFEF1
#F5FCE3
#ECFCC0
#E1FF8F
#caff3b
#C2FF1F
#B3F500
#95CC00
#77A300
#577605
#364903
Base = 400Lightest = 50 · #FAFEF1Darkest = 950 · #364903
:root {
  --brand-50: #FAFEF1;
  --brand-100: #F5FCE3;
  --brand-200: #ECFCC0;
  --brand-300: #E1FF8F;
  --brand-400: #caff3b;
  --brand-500: #C2FF1F;
  --brand-600: #B3F500;
  --brand-700: #95CC00;
  --brand-800: #77A300;
  --brand-900: #577605;
  --brand-950: #364903;
  --brand: #caff3b;
  --brand-ink: #000000;
}

Colors that work with #caff3b

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#E1EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#3F3BFF
Second voice, not a rival
Dark variant#5D8000
Hover, pressed, headers
Light variant#F8FFE5
Selected rows, tints
Dark surface#202414
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 #caff3b

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#703BFF
Analogous left#FFD23B
Analogous right#68FF3B
Split-complement 1#3B68FF
Split-complement 2#D23BFF
Triadic 1#3BCAFF
Triadic 2#FF3BCA
Tetradic#3BFFD2

RGB percentages

Red79.2%
Green100.0%
Blue23.1%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow76.9%
Key (black)0.0%

Color previews

#caff3b text on a black background

contrast 17.88:1

Card sample

#caff3b text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 255, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 255, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #caff3b;
background: linear-gradient(135deg, #caff3b, #48FF3B);

Monochromatic scale

Palettes built from #caff3b

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.

#caff3b 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.

#caff3b, answered

What color is #caff3b?

#caff3b is a balanced electric green, closest to Green Yellow (ΔE2000 3.9). It sits at 76° on the hue wheel with 100% saturation and 62% lightness, which reads as warm.

What is the RGB value of #caff3b?

rgb(202, 255, 59) — 202 red, 255 green and 59 blue out of 255, or 79.2% / 100% / 23.1% by channel.

Is #caff3b a light or a dark color?

It is a light color. Relative luminance is 0.8439 and perceived brightness is 88%, so black text on it reaches 17.88:1.

Should I use black or white text on #caff3b?

Black. It scores 17.88:1 against #caff3b, versus 1.17:1 for white — AAA at any size.

What is the complementary color of #caff3b?

#703BFF sits directly opposite on the wheel. Softer options are the split-complements #3B68FF and #D23BFF, which give the same contrast with far less vibration.

What colors go well with #caff3b?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #859B4B for secondary text, #3F3BFF as an accent and #5D8000 for hover and pressed states. For a palette, the analogous pair #FFD23B and #68FF3B stays calm, while #703BFF is the loudest partner.

What is #caff3b in CMYK for printing?

cmyk(21%, 0%, 77%, 0%). 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 #caff3b warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FFEC3B; nudged cooler, #82FF3B.

Work with #caff3b in the Color Lab