#CFDD87#CFDD87

#CFDD87 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.111 H 116.3°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#CFDD87
RGBrgb(207, 221, 135)
HSLhsl(70, 56%, 70%)
HSVhsv(70, 39%, 87%)
CMYKcmyk(6.3%, 0%, 38.9%, 13.3%)
CIE-LABlab(85.37, -17.85, 40.63)
CIE-LCHlch(85.37, 44.38, 113.72°)
OKLaboklab(86.76% -0.0491 0.0993)
OKLCHoklch(86.76% 0.111 116.3)
XYZxyz(55.9620, 66.7281, 32.8487)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD87 #9587DD
analogous
#DDC087 #CFDD87 #A4DD87
triadic
#CFDD87 #87CFDD #DD87CF
tetradic
#CFDD87 #87DDC0 #9587DD #DD87A4
square
#CFDD87 #87DDC0 #9587DD #DD87A4
split-complementary
#CFDD87 #87A4DD #C087DD
monochromatic
#A1B634 #BCCF57 #CFDD87 #E2EBB7 #F5F8E6

Accessibility & contrast

On white

1.46
#CFDD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#CFDD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDD87
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDD87#FFFFFF#000000##000000
##CFDD871.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D580
Deuteranopia (green-blind)
#E7D68B
Tritanopia (blue-blind)
#D8D4C8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdd87;
/* rgb */ color: rgb(207, 221, 135);
/* oklch */ color: oklch(86.8% 0.111 116.3);
Tailwind
colors: {
  custom: {
    50: '#dfe7ab',
    500: '#cfdd87',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd87;
$custom-light: #dfe7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd87",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 135
  },
  "hsl": {
    "h": 69.767,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86758,
    "c": 0.11076,
    "h": 116.3
  },
  "luminance": 0.66728
}

Semantic roles & 50–950 ramp

primary
#CFDD87
secondary
#6454B4
accent
#22C33C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CFDD87

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

Preview Lab → · Contrast checker → · Palette generator →

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