#CAF07C#CAF07C

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

Color values

HEX#CAF07C
RGBrgb(202, 240, 124)
HSLhsl(80, 79%, 71%)
HSVhsv(80, 48%, 94%)
CMYKcmyk(15.8%, 0%, 48.3%, 5.9%)
CIE-LABlab(90.01, -30.06, 51.66)
CIE-LCHlch(90.01, 59.77, 120.19°)
OKLaboklab(90.35% -0.0841 0.1234)
OKLCHoklch(90.35% 0.149 124.3)
XYZxyz(59.1553, 76.3316, 30.6819)
Luminance0.7633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF07C #A27CF0
analogous
#F0DC7C #CAF07C #90F07C
triadic
#CAF07C #7CCAF0 #F07CCA
tetradic
#CAF07C #7CF0DC #A27CF0 #F07C90
square
#CAF07C #7CF0DC #A27CF0 #F07C90
split-complementary
#CAF07C #7C90F0 #DC7CF0
monochromatic
#9AD919 #B4EA45 #CAF07C #E0F6B3 #F4FCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF07C#FFFFFF#000000##000000
##CAF07C1.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)
#FBE472
Deuteranopia (green-blind)
#F6E283
Tritanopia (blue-blind)
#D1E6D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf07c;
/* rgb */ color: rgb(202, 240, 124);
/* oklch */ color: oklch(90.3% 0.149 124.3);
Tailwind
colors: {
  custom: {
    50: '#dcf5a4',
    500: '#caf07c',
    950: '#000000',
  },
}
SCSS
$custom: #caf07c;
$custom-light: #dcf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#caf07c",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 79.655,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90348,
    "c": 0.14937,
    "h": 124.3
  },
  "luminance": 0.76332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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