#CFE8A2#CFE8A2

#CFE8A2 is a very light, moderate yellow-green. Relative luminance 0.736; OKLCH L 89.6% C 0.095 H 124.3°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#CFE8A2
RGBrgb(207, 232, 162)
HSLhsl(81, 60%, 77%)
HSVhsv(81, 30%, 91%)
CMYKcmyk(10.8%, 0%, 30.2%, 9%)
CIE-LABlab(88.73, -19.86, 31.41)
CIE-LCHlch(88.73, 37.17, 122.31°)
OKLaboklab(89.58% -0.0536 0.0787)
OKLCHoklch(89.58% 0.095 124.3)
XYZxyz(61.1097, 73.5870, 45.1597)
Luminance0.7359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE8A2 #BBA2E8
analogous
#E8DEA2 #CFE8A2 #ACE8A2
triadic
#CFE8A2 #A2CFE8 #E8A2CF
tetradic
#CFE8A2 #A2E8DE #BBA2E8 #E8A2AC
square
#CFE8A2 #A2E8DE #BBA2E8 #E8A2AC
split-complementary
#CFE8A2 #A2ACE8 #DEA2E8
monochromatic
#9CD040 #B6DC71 #CFE8A2 #E8F4D3 #F2F9E6

Accessibility & contrast

On white

1.34
#CFE8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#CFE8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE8A2
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE8A2#FFFFFF#000000##000000
##CFE8A21.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E09D
Deuteranopia (green-blind)
#ECDFA5
Tritanopia (blue-blind)
#D4E1D6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfe8a2;
/* rgb */ color: rgb(207, 232, 162);
/* oklch */ color: oklch(89.6% 0.095 124.3);
Tailwind
colors: {
  custom: {
    50: '#deefbe',
    500: '#cfe8a2',
    950: '#000000',
  },
}
SCSS
$custom: #cfe8a2;
$custom-light: #deefbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe8a2",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 162
  },
  "hsl": {
    "h": 81.429,
    "s": 60.345,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89578,
    "c": 0.09517,
    "h": 124.3
  },
  "luminance": 0.73587
}

Semantic roles & 50–950 ramp

primary
#CFE8A2
secondary
#8B6BC3
accent
#1DC85A
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151612
muted
#848582

Preview Lab

Preview with #CFE8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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