#CAF257#CAF257

#CAF257 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.4% C 0.183 H 122.5°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#CAF257
RGBrgb(202, 242, 87)
HSLhsl(75, 86%, 65%)
HSVhsv(75, 64%, 95%)
CMYKcmyk(16.5%, 0%, 64%, 5.1%)
CIE-LABlab(90.21, -34.10, 67.96)
CIE-LCHlch(90.21, 76.04, 116.65°)
OKLaboklab(90.39% -0.0986 0.1547)
OKLCHoklch(90.39% 0.183 122.5)
XYZxyz(57.8302, 76.7488, 20.7823)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF257 #7F57F2
analogous
#F2CD57 #CAF257 #7DF257
triadic
#CAF257 #57CAF2 #F257CA
tetradic
#CAF257 #57F2CD #7F57F2 #F2577D
square
#CAF257 #57F2CD #7F57F2 #F2577D
split-complementary
#CAF257 #577DF2 #CD57F2
monochromatic
#92C00F #B8EE1E #CAF257 #DCF690 #EEFBC9

Accessibility & contrast

On white

1.28
#CAF257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#CAF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF257
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF257#FFFFFF#000000##000000
##CAF2571.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE442
Deuteranopia (green-blind)
#FAE363
Tritanopia (blue-blind)
#D4E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf257;
/* rgb */ color: rgb(202, 242, 87);
/* oklch */ color: oklch(90.4% 0.183 122.5);
Tailwind
colors: {
  custom: {
    50: '#ddf68d',
    500: '#caf257',
    950: '#000000',
  },
}
SCSS
$custom: #caf257;
$custom-light: #ddf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#caf257",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 75.484,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90389,
    "c": 0.18347,
    "h": 122.5
  },
  "luminance": 0.76749
}

Semantic roles & 50–950 ramp

primary
#CAF257
secondary
#5430BE
accent
#03E23D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF257

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

Preview Lab → · Contrast checker → · Palette generator →

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