#CAFA7B#CAFA7B

#CAFA7B is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.5% C 0.164 H 126.5°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#CAFA7B
RGBrgb(202, 250, 123)
HSLhsl(83, 93%, 73%)
HSVhsv(83, 51%, 98%)
CMYKcmyk(19.2%, 0%, 50.8%, 2%)
CIE-LABlab(92.73, -34.77, 55.39)
CIE-LCHlch(92.73, 65.40, 122.12°)
OKLaboklab(92.53% -0.0974 0.1315)
OKLCHoklch(92.53% 0.164 126.5)
XYZxyz(62.1177, 82.3571, 31.3589)
Luminance0.8236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA7B #AB7BFA
analogous
#FAEA7B #CAFA7B #8AFA7B
triadic
#CAFA7B #7BCAFA #FA7BCA
tetradic
#CAFA7B #7BFAEA #AB7BFA #FA7B8A
square
#CAFA7B #7BFAEA #AB7BFA #FA7B8A
split-complementary
#CAFA7B #7B8AFA #EA7BFA
monochromatic
#9AF109 #B2F840 #CAFA7B #E2FCB6 #F3FEE2

Accessibility & contrast

On white

1.20
#CAFA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#CAFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA7B
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA7B#FFFFFF#000000##000000
##CAFA7B1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#D0F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa7b;
/* rgb */ color: rgb(202, 250, 123);
/* oklch */ color: oklch(92.5% 0.164 126.5);
Tailwind
colors: {
  custom: {
    50: '#dcfca4',
    500: '#cafa7b',
    950: '#000000',
  },
}
SCSS
$custom: #cafa7b;
$custom-light: #dcfca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa7b",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 82.677,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92534,
    "c": 0.16366,
    "h": 126.5
  },
  "luminance": 0.82358
}

Semantic roles & 50–950 ramp

primary
#CAFA7B
secondary
#7A42D7
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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