#CEF97D#CEF97D

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

Color values

HEX#CEF97D
RGBrgb(206, 249, 125)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(17.3%, 0%, 49.8%, 2.4%)
CIE-LABlab(92.73, -32.64, 54.53)
CIE-LCHlch(92.73, 63.56, 120.91°)
OKLaboklab(92.6% -0.0915 0.1298)
OKLCHoklch(92.6% 0.159 125.2)
XYZxyz(63.0309, 82.3533, 31.9732)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF97D #A87DF9
analogous
#F9E67D #CEF97D #90F97D
triadic
#CEF97D #7DCEF9 #F97DCE
tetradic
#CEF97D #7DF9E6 #A87DF9 #F97D90
square
#CEF97D #7DF9E6 #A87DF9 #F97D90
split-complementary
#CEF97D #7D90F9 #E67DF9
monochromatic
#A1F00B #B8F642 #CEF97D #E4FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEF97D#FFFFFF#000000##000000
##CEF97D1.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)
#FFEC72
Deuteranopia (green-blind)
#FEEA84
Tritanopia (blue-blind)
#D5EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef97d;
/* rgb */ color: rgb(206, 249, 125);
/* oklch */ color: oklch(92.6% 0.159 125.2);
Tailwind
colors: {
  custom: {
    50: '#dffba5',
    500: '#cef97d',
    950: '#000000',
  },
}
SCSS
$custom: #cef97d;
$custom-light: #dffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cef97d",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 80.806,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92603,
    "c": 0.15878,
    "h": 125.2
  },
  "luminance": 0.82354
}

Semantic roles & 50–950 ramp

primary
#CEF97D
secondary
#7744D6
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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