#CDCA88#CDCA88

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

Color values

HEX#CDCA88
RGBrgb(205, 202, 136)
HSLhsl(57, 41%, 67%)
HSVhsv(57, 34%, 80%)
CMYKcmyk(0%, 1.5%, 33.7%, 19.6%)
CIE-LABlab(80.18, -8.95, 33.39)
CIE-LCHlch(80.18, 34.57, 105.01°)
OKLaboklab(82.6% -0.0236 0.0826)
OKLCHoklch(82.6% 0.086 105.9)
XYZxyz(50.7418, 56.9988, 31.6166)
Luminance0.5700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA88 #888BCD
analogous
#CDA888 #CDCA88 #AECD88
triadic
#CDCA88 #88CDCA #CA88CD
tetradic
#CDCA88 #88CDA8 #888BCD #CD88AE
square
#CDCA88 #88CDA8 #888BCD #CD88AE
split-complementary
#CDCA88 #88AECD #A888CD
monochromatic
#9A9641 #BBB75D #CDCA88 #DFDDB3 #F1F0DE

Accessibility & contrast

On white

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

On black

12.40
#CDCA88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA88
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA88#FFFFFF#000000##000000
##CDCA881.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca88;
/* rgb */ color: rgb(205, 202, 136);
/* oklch */ color: oklch(82.6% 0.086 105.9);
Tailwind
colors: {
  custom: {
    50: '#dddaab',
    500: '#cdca88',
    950: '#000000',
  },
}
SCSS
$custom: #cdca88;
$custom-light: #dddaab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca88",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 136
  },
  "hsl": {
    "h": 57.391,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82599,
    "c": 0.08592,
    "h": 105.9
  },
  "luminance": 0.56998
}

Semantic roles & 50–950 ramp

primary
#CDCA88
secondary
#595CA0
accent
#37B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA88

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

Preview Lab → · Contrast checker → · Palette generator →

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