#CFCD87#CFCD87

#CFCD87 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.091 H 106.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CFCD87
RGBrgb(207, 205, 135)
HSLhsl(58, 43%, 67%)
HSVhsv(58, 35%, 81%)
CMYKcmyk(0%, 1%, 34.8%, 18.8%)
CIE-LABlab(81.11, -9.82, 35.15)
CIE-LCHlch(81.11, 36.50, 105.61°)
OKLaboklab(83.38% -0.0262 0.0867)
OKLCHoklch(83.38% 0.091 106.8)
XYZxyz(51.9372, 58.6783, 31.5071)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD87 #8789CF
analogous
#CFA987 #CFCD87 #ADCF87
triadic
#CFCD87 #87CFCD #CD87CF
tetradic
#CFCD87 #87CFA9 #8789CF #CF87AD
square
#CFCD87 #87CFA9 #8789CF #CF87AD
split-complementary
#CFCD87 #87ADCF #A987CF
monochromatic
#9D9A3F #BEBB5B #CFCD87 #E0DFB3 #F2F1DE

Accessibility & contrast

On white

1.65
#CFCD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CFCD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD87
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD87#FFFFFF#000000##000000
##CFCD871.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C882
Deuteranopia (green-blind)
#DACB8A
Tritanopia (blue-blind)
#D9C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd87;
/* rgb */ color: rgb(207, 205, 135);
/* oklch */ color: oklch(83.4% 0.091 106.8);
Tailwind
colors: {
  custom: {
    50: '#dedcaa',
    500: '#cfcd87',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd87;
$custom-light: #dedcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd87",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 58.333,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83375,
    "c": 0.09056,
    "h": 106.8
  },
  "luminance": 0.58677
}

Semantic roles & 50–950 ramp

primary
#CFCD87
secondary
#585AA3
accent
#33B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD87

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

Preview Lab → · Contrast checker → · Palette generator →

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