#CFE978#CFE978

#CFE978 is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.1% C 0.142 H 120.1°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#CFE978
RGBrgb(207, 233, 120)
HSLhsl(74, 72%, 69%)
HSVhsv(74, 48%, 91%)
CMYKcmyk(11.2%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.40, -25.26, 51.67)
CIE-LCHlch(88.40, 57.51, 116.06°)
OKLaboklab(89.12% -0.0712 0.1231)
OKLCHoklch(89.12% 0.142 120.1)
XYZxyz(58.2616, 72.8995, 28.7674)
Luminance0.7290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE978 #9278E9
analogous
#E9CB78 #CFE978 #97E978
triadic
#CFE978 #78CFE9 #E978CF
tetradic
#CFE978 #78E9CB #9278E9 #E97897
square
#CFE978 #78E9CB #9278E9 #E97897
split-complementary
#CFE978 #7897E9 #CB78E9
monochromatic
#A0C620 #BCE043 #CFE978 #E2F2AD #F4FAE1

Accessibility & contrast

On white

1.35
#CFE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#CFE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE978
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE978#FFFFFF#000000##000000
##CFE9781.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#F2DE7E
Tritanopia (blue-blind)
#D8DFCF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe978;
/* rgb */ color: rgb(207, 233, 120);
/* oklch */ color: oklch(89.1% 0.142 120.1);
Tailwind
colors: {
  custom: {
    50: '#dff0a1',
    500: '#cfe978',
    950: '#000000',
  },
}
SCSS
$custom: #cfe978;
$custom-light: #dff0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe978",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 73.805,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89122,
    "c": 0.14221,
    "h": 120.1
  },
  "luminance": 0.72899
}

Semantic roles & 50–950 ramp

primary
#CFE978
secondary
#6144C1
accent
#11D43E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE978

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

Preview Lab → · Contrast checker → · Palette generator →

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