#CFE78D#CFE78D

#CFE78D is a very light, moderate yellow-green. Relative luminance 0.723; OKLCH L 89.0% C 0.118 H 121.0°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#CFE78D
RGBrgb(207, 231, 141)
HSLhsl(76, 65%, 73%)
HSVhsv(76, 39%, 91%)
CMYKcmyk(10.4%, 0%, 39%, 9.4%)
CIE-LABlab(88.13, -22.05, 41.19)
CIE-LCHlch(88.13, 46.72, 118.16°)
OKLaboklab(89% -0.0606 0.1008)
OKLCHoklch(89% 0.118 121)
XYZxyz(59.1157, 72.3404, 36.0429)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE78D #A58DE7
analogous
#E7D28D #CFE78D #A2E78D
triadic
#CFE78D #8DCFE7 #E78DCF
tetradic
#CFE78D #8DE7D2 #A58DE7 #E78DA2
square
#CFE78D #8DE7D2 #A58DE7 #E78DA2
split-complementary
#CFE78D #8DA2E7 #D28DE7
monochromatic
#A3CE2B #BADC5A #CFE78D #E4F2C0 #F4FAE6

Accessibility & contrast

On white

1.36
#CFE78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#CFE78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE78D
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE78D#FFFFFF#000000##000000
##CFE78D1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD86
Deuteranopia (green-blind)
#EEDD91
Tritanopia (blue-blind)
#D6DFD1
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe78d;
/* rgb */ color: rgb(207, 231, 141);
/* oklch */ color: oklch(89.0% 0.118 121.0);
Tailwind
colors: {
  custom: {
    50: '#dfeeaf',
    500: '#cfe78d',
    950: '#000000',
  },
}
SCSS
$custom: #cfe78d;
$custom-light: #dfeeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe78d",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 141
  },
  "hsl": {
    "h": 76,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.88996,
    "c": 0.11763,
    "h": 121
  },
  "luminance": 0.7234
}

Semantic roles & 50–950 ramp

primary
#CFE78D
secondary
#7458C1
accent
#18CD49
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE78D

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

Preview Lab → · Contrast checker → · Palette generator →

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