#CDCA86#CDCA86

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

Color values

HEX#CDCA86
RGBrgb(205, 202, 134)
HSLhsl(57, 42%, 66%)
HSVhsv(57, 35%, 80%)
CMYKcmyk(0%, 1.5%, 34.6%, 19.6%)
CIE-LABlab(80.15, -9.19, 34.38)
CIE-LCHlch(80.15, 35.58, 104.97°)
OKLaboklab(82.56% -0.0244 0.0849)
OKLCHoklch(82.56% 0.088 106)
XYZxyz(50.6010, 56.9425, 30.8750)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA86 #8689CD
analogous
#CDA786 #CDCA86 #ADCD86
triadic
#CDCA86 #86CDCA #CA86CD
tetradic
#CDCA86 #86CDA7 #8689CD #CD86AD
square
#CDCA86 #86CDA7 #8689CD #CD86AD
split-complementary
#CDCA86 #86ADCD #A786CD
monochromatic
#99953F #BBB75B #CDCA86 #DFDDB1 #F1F0DD

Accessibility & contrast

On white

1.70
#CDCA86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA86#FFFFFF#000000##000000
##CDCA861.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca86;
/* rgb */ color: rgb(205, 202, 134);
/* oklch */ color: oklch(82.6% 0.088 106.0);
Tailwind
colors: {
  custom: {
    50: '#dddaaa',
    500: '#cdca86',
    950: '#000000',
  },
}
SCSS
$custom: #cdca86;
$custom-light: #dddaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca86",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 134
  },
  "hsl": {
    "h": 57.465,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.08829,
    "h": 106
  },
  "luminance": 0.56941
}

Semantic roles & 50–950 ramp

primary
#CDCA86
secondary
#585BA0
accent
#36B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA86

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

Preview Lab → · Contrast checker → · Palette generator →

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