#CAFA5D#CAFA5D

#CAFA5D is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.2% C 0.189 H 124.5°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CAFA5D
RGBrgb(202, 250, 93)
HSLhsl(78, 94%, 67%)
HSVhsv(78, 63%, 98%)
CMYKcmyk(19.2%, 0%, 62.8%, 2%)
CIE-LABlab(92.45, -37.31, 67.98)
CIE-LCHlch(92.45, 77.54, 118.76°)
OKLaboklab(92.22% -0.107 0.1555)
OKLCHoklch(92.22% 0.189 124.5)
XYZxyz(60.5189, 81.7175, 22.9385)
Luminance0.8172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA5D #8D5DFA
analogous
#FADC5D #CAFA5D #7CFA5D
triadic
#CAFA5D #5DCAFA #FA5DCA
tetradic
#CAFA5D #5DFADC #8D5DFA #FA5D7C
square
#CAFA5D #5DFADC #8D5DFA #FA5D7C
split-complementary
#CAFA5D #5D7CFA #DC5DFA
monochromatic
#97D607 #B7F822 #CAFA5D #DDFC98 #F1FED4

Accessibility & contrast

On white

1.21
#CAFA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#CAFA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA5D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA5D#FFFFFF#000000##000000
##CAFA5D1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB49
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#D3EFD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cafa5d;
/* rgb */ color: rgb(202, 250, 93);
/* oklch */ color: oklch(92.2% 0.189 124.5);
Tailwind
colors: {
  custom: {
    50: '#ddfc91',
    500: '#cafa5d',
    950: '#000000',
  },
}
SCSS
$custom: #cafa5d;
$custom-light: #ddfc91;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa5d",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 93
  },
  "hsl": {
    "h": 78.344,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92215,
    "c": 0.18875,
    "h": 124.5
  },
  "luminance": 0.81718
}

Semantic roles & 50–950 ramp

primary
#CAFA5D
secondary
#5D2BD0
accent
#00E646
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAFA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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