#CFE57A#CFE57A

#CFE57A is a very light, vivid yellow-green. Relative luminance 0.707; OKLCH L 88.3% C 0.135 H 118.8°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#CFE57A
RGBrgb(207, 229, 122)
HSLhsl(72, 67%, 69%)
HSVhsv(72, 47%, 90%)
CMYKcmyk(9.6%, 0%, 46.7%, 10.2%)
CIE-LABlab(87.34, -23.15, 49.44)
CIE-LCHlch(87.34, 54.59, 115.09°)
OKLaboklab(88.28% -0.0651 0.1183)
OKLCHoklch(88.28% 0.135 118.8)
XYZxyz(57.2647, 70.7095, 29.0401)
Luminance0.7071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE57A #907AE5
analogous
#E5C67A #CFE57A #9AE57A
triadic
#CFE57A #7ACFE5 #E57ACF
tetradic
#CFE57A #7AE5C6 #907AE5 #E57A9A
square
#CFE57A #7AE5C6 #907AE5 #E57A9A
split-complementary
#CFE57A #7A9AE5 #C67AE5
monochromatic
#A0BF25 #BDDB47 #CFE57A #E1EFAD #F4F9E0

Accessibility & contrast

On white

1.39
#CFE57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#CFE57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE57A
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE57A#FFFFFF#000000##000000
##CFE57A1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#EFDB80
Tritanopia (blue-blind)
#D8DBCC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe57a;
/* rgb */ color: rgb(207, 229, 122);
/* oklch */ color: oklch(88.3% 0.135 118.8);
Tailwind
colors: {
  custom: {
    50: '#dfeda2',
    500: '#cfe57a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe57a;
$custom-light: #dfeda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe57a",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 122
  },
  "hsl": {
    "h": 72.336,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88283,
    "c": 0.13504,
    "h": 118.8
  },
  "luminance": 0.70709
}

Semantic roles & 50–950 ramp

primary
#CFE57A
secondary
#5F47BD
accent
#16CF3C
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE57A

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

Preview Lab → · Contrast checker → · Palette generator →

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