#CFE78A#CFE78A

#CFE78A is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.9% C 0.121 H 120.7°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#CFE78A
RGBrgb(207, 231, 138)
HSLhsl(75, 66%, 72%)
HSVhsv(75, 40%, 91%)
CMYKcmyk(10.4%, 0%, 40.3%, 9.4%)
CIE-LABlab(88.09, -22.39, 42.61)
CIE-LCHlch(88.09, 48.14, 117.72°)
OKLaboklab(88.95% -0.0618 0.1039)
OKLCHoklch(88.95% 0.121 120.7)
XYZxyz(58.8955, 72.2523, 34.8832)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE78A #A28AE7
analogous
#E7D18A #CFE78A #A1E78A
triadic
#CFE78A #8ACFE7 #E78ACF
tetradic
#CFE78A #8AE7D1 #A28AE7 #E78AA1
square
#CFE78A #8AE7D1 #A28AE7 #E78AA1
split-complementary
#CFE78A #8AA1E7 #D18AE7
monochromatic
#A3CD2A #BADD57 #CFE78A #E4F1BD #F5FAE6

Accessibility & contrast

On white

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

On black

15.45
#CFE78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE78A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE78A#FFFFFF#000000##000000
##CFE78A1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD83
Deuteranopia (green-blind)
#EEDD8F
Tritanopia (blue-blind)
#D7DED0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe78a;
/* rgb */ color: rgb(207, 231, 138);
/* oklch */ color: oklch(88.9% 0.121 120.7);
Tailwind
colors: {
  custom: {
    50: '#dfeead',
    500: '#cfe78a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe78a;
$custom-light: #dfeead;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe78a",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 75.484,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88948,
    "c": 0.12091,
    "h": 120.7
  },
  "luminance": 0.72252
}

Semantic roles & 50–950 ramp

primary
#CFE78A
secondary
#7155C0
accent
#18CE47
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE78A

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

Preview Lab → · Contrast checker → · Palette generator →

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