#CFDF87#CFDF87

#CFDF87 is a very light, moderate yellow-green. Relative luminance 0.678; OKLCH L 87.2% C 0.113 H 117.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#CFDF87
RGBrgb(207, 223, 135)
HSLhsl(71, 58%, 70%)
HSVhsv(71, 39%, 87%)
CMYKcmyk(7.2%, 0%, 39.5%, 12.5%)
CIE-LABlab(85.90, -18.84, 41.31)
CIE-LCHlch(85.90, 45.41, 114.51°)
OKLaboklab(87.19% -0.0519 0.1008)
OKLCHoklch(87.19% 0.113 117.2)
XYZxyz(56.4932, 67.7904, 33.0257)
Luminance0.6779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF87 #9787DF
analogous
#DFC387 #CFDF87 #A3DF87
triadic
#CFDF87 #87CFDF #DF87CF
tetradic
#CFDF87 #87DFC3 #9787DF #DF87A3
square
#CFDF87 #87DFC3 #9787DF #DF87A3
split-complementary
#CFDF87 #87A3DF #C387DF
monochromatic
#A1BA32 #BCD257 #CFDF87 #E2ECB7 #F5F9E7

Accessibility & contrast

On white

1.44
#CFDF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#CFDF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF87
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF87#FFFFFF#000000##000000
##CFDF871.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD680
Deuteranopia (green-blind)
#E8D78B
Tritanopia (blue-blind)
#D8D6C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfdf87;
/* rgb */ color: rgb(207, 223, 135);
/* oklch */ color: oklch(87.2% 0.113 117.2);
Tailwind
colors: {
  custom: {
    50: '#dfe9ab',
    500: '#cfdf87',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf87;
$custom-light: #dfe9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf87",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 70.909,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87185,
    "c": 0.11341,
    "h": 117.2
  },
  "luminance": 0.6779
}

Semantic roles & 50–950 ramp

primary
#CFDF87
secondary
#6654B7
accent
#20C53E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CFDF87

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

Preview Lab → · Contrast checker → · Palette generator →

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