#CEF977#CEF977

#CEF977 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.164 H 124.7°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#CEF977
RGBrgb(206, 249, 119)
HSLhsl(80, 92%, 72%)
HSVhsv(80, 52%, 98%)
CMYKcmyk(17.3%, 0%, 52.2%, 2.4%)
CIE-LABlab(92.67, -33.22, 57.19)
CIE-LCHlch(92.67, 66.14, 120.15°)
OKLaboklab(92.53% -0.0936 0.1351)
OKLCHoklch(92.53% 0.164 124.7)
XYZxyz(62.6591, 82.2046, 30.0152)
Luminance0.8220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF977 #A277F9
analogous
#F9E377 #CEF977 #8DF977
triadic
#CEF977 #77CEF9 #F977CE
tetradic
#CEF977 #77F9E3 #A277F9 #F9778D
square
#CEF977 #77F9E3 #A277F9 #F9778D
split-complementary
#CEF977 #778DF9 #E377F9
monochromatic
#A1EB0A #B9F63C #CEF977 #E3FCB2 #F4FEE2

Accessibility & contrast

On white

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

On black

17.44
#CEF977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF977
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF977#FFFFFF#000000##000000
##CEF9771.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#D6EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef977;
/* rgb */ color: rgb(206, 249, 119);
/* oklch */ color: oklch(92.5% 0.164 124.7);
Tailwind
colors: {
  custom: {
    50: '#dffba1',
    500: '#cef977',
    950: '#000000',
  },
}
SCSS
$custom: #cef977;
$custom-light: #dffba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cef977",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 119
  },
  "hsl": {
    "h": 79.846,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92529,
    "c": 0.16434,
    "h": 124.7
  },
  "luminance": 0.82205
}

Semantic roles & 50–950 ramp

primary
#CEF977
secondary
#713FD5
accent
#00E64C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF977

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

Preview Lab → · Contrast checker → · Palette generator →

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