#CDCA89#CDCA89

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

Color values

HEX#CDCA89
RGBrgb(205, 202, 137)
HSLhsl(57, 40%, 67%)
HSVhsv(57, 33%, 80%)
CMYKcmyk(0%, 1.5%, 33.2%, 19.6%)
CIE-LABlab(80.19, -8.83, 32.89)
CIE-LCHlch(80.19, 34.06, 105.03°)
OKLaboklab(82.62% -0.0232 0.0815)
OKLCHoklch(82.62% 0.085 105.9)
XYZxyz(50.8132, 57.0273, 31.9927)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA89 #898CCD
analogous
#CDA889 #CDCA89 #AECD89
triadic
#CDCA89 #89CDCA #CA89CD
tetradic
#CDCA89 #89CDA8 #898CCD #CD89AE
square
#CDCA89 #89CDA8 #898CCD #CD89AE
split-complementary
#CDCA89 #89AECD #A889CD
monochromatic
#9A9641 #BBB75E #CDCA89 #DFDDB4 #F1F1DF

Accessibility & contrast

On white

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

On black

12.41
#CDCA89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA89
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA89#FFFFFF#000000##000000
##CDCA891.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca89;
/* rgb */ color: rgb(205, 202, 137);
/* oklch */ color: oklch(82.6% 0.085 105.9);
Tailwind
colors: {
  custom: {
    50: '#dddaac',
    500: '#cdca89',
    950: '#000000',
  },
}
SCSS
$custom: #cdca89;
$custom-light: #dddaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca89",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 137
  },
  "hsl": {
    "h": 57.353,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82617,
    "c": 0.08474,
    "h": 105.9
  },
  "luminance": 0.57026
}

Semantic roles & 50–950 ramp

primary
#CDCA89
secondary
#5A5DA1
accent
#38B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA89

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

Preview Lab → · Contrast checker → · Palette generator →

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