#CFE78F#CFE78F

#CFE78F is a very light, moderate yellow-green. Relative luminance 0.724; OKLCH L 89.0% C 0.115 H 121.2°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#CFE78F
RGBrgb(207, 231, 143)
HSLhsl(76, 65%, 73%)
HSVhsv(76, 38%, 91%)
CMYKcmyk(10.4%, 0%, 38.1%, 9.4%)
CIE-LABlab(88.16, -21.81, 40.23)
CIE-LCHlch(88.16, 45.76, 118.46°)
OKLaboklab(89.03% -0.0598 0.0987)
OKLCHoklch(89.03% 0.115 121.2)
XYZxyz(59.2659, 72.4004, 36.8337)
Luminance0.7240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE78F #A78FE7
analogous
#E7D38F #CFE78F #A3E78F
triadic
#CFE78F #8FCFE7 #E78FCF
tetradic
#CFE78F #8FE7D3 #A78FE7 #E78FA3
square
#CFE78F #8FE7D3 #A78FE7 #E78FA3
split-complementary
#CFE78F #8FA3E7 #D38FE7
monochromatic
#A3CF2C #B9DC5D #CFE78F #E5F2C1 #F4FAE6

Accessibility & contrast

On white

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

On black

15.48
#CFE78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE78F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE78F#FFFFFF#000000##000000
##CFE78F1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe78f;
/* rgb */ color: rgb(207, 231, 143);
/* oklch */ color: oklch(89.0% 0.115 121.2);
Tailwind
colors: {
  custom: {
    50: '#dfeeb1',
    500: '#cfe78f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe78f;
$custom-light: #dfeeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe78f",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 143
  },
  "hsl": {
    "h": 76.364,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89028,
    "c": 0.11542,
    "h": 121.2
  },
  "luminance": 0.724
}

Semantic roles & 50–950 ramp

primary
#CFE78F
secondary
#765AC1
accent
#19CD4A
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151611
muted
#848581

Preview Lab

Preview with #CFE78F

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

Preview Lab → · Contrast checker → · Palette generator →

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