#CFEC8A#CFEC8A

#CFEC8A is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 90.0% C 0.128 H 122.5°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#CFEC8A
RGBrgb(207, 236, 138)
HSLhsl(78, 72%, 73%)
HSVhsv(78, 42%, 93%)
CMYKcmyk(12.3%, 0%, 41.5%, 7.5%)
CIE-LABlab(89.44, -24.80, 44.32)
CIE-LCHlch(89.44, 50.78, 119.23°)
OKLaboklab(90.03% -0.0686 0.1078)
OKLCHoklch(90.03% 0.128 122.5)
XYZxyz(60.3150, 75.0912, 35.3563)
Luminance0.7509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC8A #A78AEC
analogous
#ECD88A #CFEC8A #9EEC8A
triadic
#CFEC8A #8ACFEC #EC8ACF
tetradic
#CFEC8A #8AECD8 #A78AEC #EC8A9E
square
#CFEC8A #8AECD8 #A78AEC #EC8A9E
split-complementary
#CFEC8A #8A9EEC #D88AEC
monochromatic
#A3D823 #B9E355 #CFEC8A #E5F5BF #F4FBE5

Accessibility & contrast

On white

1.31
#CFEC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#CFEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC8A
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC8A#FFFFFF#000000##000000
##CFEC8A1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E182
Deuteranopia (green-blind)
#F3E18F
Tritanopia (blue-blind)
#D6E3D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec8a;
/* rgb */ color: rgb(207, 236, 138);
/* oklch */ color: oklch(90.0% 0.128 122.5);
Tailwind
colors: {
  custom: {
    50: '#dff2ad',
    500: '#cfec8a',
    950: '#000000',
  },
}
SCSS
$custom: #cfec8a;
$custom-light: #dff2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec8a",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 77.755,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90026,
    "c": 0.12775,
    "h": 122.5
  },
  "luminance": 0.75091
}

Semantic roles & 50–950 ramp

primary
#CFEC8A
secondary
#7654C7
accent
#11D44B
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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