#CDCF87#CDCF87

#CDCF87 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.093 H 109.6°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CDCF87
RGBrgb(205, 207, 135)
HSLhsl(62, 43%, 67%)
HSVhsv(62, 35%, 81%)
CMYKcmyk(1%, 0%, 34.8%, 18.8%)
CIE-LABlab(81.49, -11.62, 35.61)
CIE-LCHlch(81.49, 37.45, 108.07°)
OKLaboklab(83.63% -0.0313 0.0878)
OKLCHoklch(83.63% 0.093 109.6)
XYZxyz(51.8633, 59.3549, 31.6415)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF87 #8987CF
analogous
#CFAD87 #CDCF87 #A9CF87
triadic
#CDCF87 #87CDCF #CF87CD
tetradic
#CDCF87 #87CFAD #8987CF #CF87A9
square
#CDCF87 #87CFAD #8987CF #CF87A9
split-complementary
#CDCF87 #87A9CF #AD87CF
monochromatic
#9A9D3F #BBBE5B #CDCF87 #DFE0B3 #F1F2DE

Accessibility & contrast

On white

1.63
#CDCF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CDCF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF87
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF87#FFFFFF#000000##000000
##CDCF871.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#DBCC8A
Tritanopia (blue-blind)
#D6C7BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf87;
/* rgb */ color: rgb(205, 207, 135);
/* oklch */ color: oklch(83.6% 0.093 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddab',
    500: '#cdcf87',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf87;
$custom-light: #ddddab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf87",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 135
  },
  "hsl": {
    "h": 61.667,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83631,
    "c": 0.09315,
    "h": 109.6
  },
  "luminance": 0.59354
}

Semantic roles & 50–950 ramp

primary
#CDCF87
secondary
#5A58A3
accent
#30B633
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCF87

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

Preview Lab → · Contrast checker → · Palette generator →

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