#CAF07D#CAF07D

#CAF07D is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.4% C 0.148 H 124.4°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#CAF07D
RGBrgb(202, 240, 125)
HSLhsl(80, 79%, 72%)
HSVhsv(80, 48%, 94%)
CMYKcmyk(15.8%, 0%, 47.9%, 5.9%)
CIE-LABlab(90.02, -29.96, 51.21)
CIE-LCHlch(90.02, 59.32, 120.33°)
OKLaboklab(90.36% -0.0838 0.1225)
OKLCHoklch(90.36% 0.148 124.4)
XYZxyz(59.2188, 76.3570, 31.0166)
Luminance0.7636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF07D #A37DF0
analogous
#F0DD7D #CAF07D #91F07D
triadic
#CAF07D #7DCAF0 #F07DCA
tetradic
#CAF07D #7DF0DD #A37DF0 #F07D91
square
#CAF07D #7DF0DD #A37DF0 #F07D91
split-complementary
#CAF07D #7D91F0 #DD7DF0
monochromatic
#9ADA19 #B4EA46 #CAF07D #E0F6B4 #F4FCE4

Accessibility & contrast

On white

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

On black

16.27
#CAF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF07D
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF07D#FFFFFF#000000##000000
##CAF07D1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf07d;
/* rgb */ color: rgb(202, 240, 125);
/* oklch */ color: oklch(90.4% 0.148 124.4);
Tailwind
colors: {
  custom: {
    50: '#dcf5a5',
    500: '#caf07d',
    950: '#000000',
  },
}
SCSS
$custom: #caf07d;
$custom-light: #dcf5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#caf07d",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 79.826,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90361,
    "c": 0.14839,
    "h": 124.4
  },
  "luminance": 0.76357
}

Semantic roles & 50–950 ramp

primary
#CAF07D
secondary
#7247CA
accent
#0ADC4F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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