#CAFA7C#CAFA7C

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

Color values

HEX#CAFA7C
RGBrgb(202, 250, 124)
HSLhsl(83, 93%, 73%)
HSVhsv(83, 50%, 98%)
CMYKcmyk(19.2%, 0%, 50.4%, 2%)
CIE-LABlab(92.74, -34.67, 54.95)
CIE-LCHlch(92.74, 64.97, 122.25°)
OKLaboklab(92.55% -0.097 0.1306)
OKLCHoklch(92.55% 0.163 126.6)
XYZxyz(62.1806, 82.3822, 31.6903)
Luminance0.8238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA7C #AC7CFA
analogous
#FAEB7C #CAFA7C #8BFA7C
triadic
#CAFA7C #7CCAFA #FA7CCA
tetradic
#CAFA7C #7CFAEB #AC7CFA #FA7C8B
square
#CAFA7C #7CFAEB #AC7CFA #FA7C8B
split-complementary
#CAFA7C #7C8BFA #EB7CFA
monochromatic
#9AF209 #B2F841 #CAFA7C #E2FCB7 #F3FEE2

Accessibility & contrast

On white

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

On black

17.48
#CAFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA7C
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA7C#FFFFFF#000000##000000
##CAFA7C1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafa7c;
/* rgb */ color: rgb(202, 250, 124);
/* oklch */ color: oklch(92.5% 0.163 126.6);
Tailwind
colors: {
  custom: {
    50: '#dcfca5',
    500: '#cafa7c',
    950: '#000000',
  },
}
SCSS
$custom: #cafa7c;
$custom-light: #dcfca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa7c",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 82.857,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92546,
    "c": 0.16273,
    "h": 126.6
  },
  "luminance": 0.82383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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