#CAF07B#CAF07B

#CAF07B is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.3% C 0.150 H 124.2°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#CAF07B
RGBrgb(202, 240, 123)
HSLhsl(79, 80%, 71%)
HSVhsv(79, 49%, 94%)
CMYKcmyk(15.8%, 0%, 48.7%, 5.9%)
CIE-LABlab(90.00, -30.16, 52.11)
CIE-LCHlch(90.00, 60.21, 120.06°)
OKLaboklab(90.34% -0.0845 0.1244)
OKLCHoklch(90.34% 0.15 124.2)
XYZxyz(59.0924, 76.3064, 30.3505)
Luminance0.7631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF07B #A17BF0
analogous
#F0DB7B #CAF07B #8FF07B
triadic
#CAF07B #7BCAF0 #F07BCA
tetradic
#CAF07B #7BF0DB #A17BF0 #F07B8F
square
#CAF07B #7BF0DB #A17BF0 #F07B8F
split-complementary
#CAF07B #7B8FF0 #DB7BF0
monochromatic
#9AD819 #B4EA44 #CAF07B #E0F6B2 #F4FCE4

Accessibility & contrast

On white

1.29
#CAF07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#CAF07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF07B
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF07B#FFFFFF#000000##000000
##CAF07B1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE471
Deuteranopia (green-blind)
#F6E282
Tritanopia (blue-blind)
#D1E6D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf07b;
/* rgb */ color: rgb(202, 240, 123);
/* oklch */ color: oklch(90.3% 0.150 124.2);
Tailwind
colors: {
  custom: {
    50: '#dcf5a4',
    500: '#caf07b',
    950: '#000000',
  },
}
SCSS
$custom: #caf07b;
$custom-light: #dcf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#caf07b",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 79.487,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90335,
    "c": 0.15034,
    "h": 124.2
  },
  "luminance": 0.76307
}

Semantic roles & 50–950 ramp

primary
#CAF07B
secondary
#7045CA
accent
#0ADC4E
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF07B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CAF07B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva