#CDCA87#CDCA87

#CDCA87 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.087 H 106.0°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CDCA87
RGBrgb(205, 202, 135)
HSLhsl(57, 41%, 67%)
HSVhsv(57, 34%, 80%)
CMYKcmyk(0%, 1.5%, 34.1%, 19.6%)
CIE-LABlab(80.16, -9.07, 33.88)
CIE-LCHlch(80.16, 35.07, 104.99°)
OKLaboklab(82.58% -0.024 0.0838)
OKLCHoklch(82.58% 0.087 106)
XYZxyz(50.6711, 56.9705, 31.2441)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA87 #878ACD
analogous
#CDA787 #CDCA87 #ADCD87
triadic
#CDCA87 #87CDCA #CA87CD
tetradic
#CDCA87 #87CDA7 #878ACD #CD87AD
square
#CDCA87 #87CDA7 #878ACD #CD87AD
split-complementary
#CDCA87 #87ADCD #A787CD
monochromatic
#9A9640 #BBB75C #CDCA87 #DFDDB2 #F1F0DD

Accessibility & contrast

On white

1.69
#CDCA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CDCA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA87
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA87#FFFFFF#000000##000000
##CDCA871.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C582
Deuteranopia (green-blind)
#D7C88A
Tritanopia (blue-blind)
#D7C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca87;
/* rgb */ color: rgb(205, 202, 135);
/* oklch */ color: oklch(82.6% 0.087 106.0);
Tailwind
colors: {
  custom: {
    50: '#dddaaa',
    500: '#cdca87',
    950: '#000000',
  },
}
SCSS
$custom: #cdca87;
$custom-light: #dddaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca87",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 135
  },
  "hsl": {
    "h": 57.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82581,
    "c": 0.08711,
    "h": 106
  },
  "luminance": 0.56969
}

Semantic roles & 50–950 ramp

primary
#CDCA87
secondary
#585BA0
accent
#37B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA87

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

Preview Lab → · Contrast checker → · Palette generator →

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