#CDCA8D#CDCA8D

#CDCA8D is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.080 H 105.6°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CDCA8D
RGBrgb(205, 202, 141)
HSLhsl(57, 39%, 68%)
HSVhsv(57, 31%, 80%)
CMYKcmyk(0%, 1.5%, 31.2%, 19.6%)
CIE-LABlab(80.26, -8.34, 30.91)
CIE-LCHlch(80.26, 32.01, 105.09°)
OKLaboklab(82.69% -0.0215 0.077)
OKLCHoklch(82.69% 0.08 105.6)
XYZxyz(51.1055, 57.1442, 33.5319)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA8D #8D90CD
analogous
#CDAA8D #CDCA8D #B0CD8D
triadic
#CDCA8D #8DCDCA #CA8DCD
tetradic
#CDCA8D #8DCDAA #8D90CD #CD8DB0
square
#CDCA8D #8DCDAA #8D90CD #CD8DB0
split-complementary
#CDCA8D #8DB0CD #AA8DCD
monochromatic
#9B9744 #BAB662 #CDCA8D #E0DEB8 #F2F2E2

Accessibility & contrast

On white

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

On black

12.43
#CDCA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA8D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA8D#FFFFFF#000000##000000
##CDCA8D1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C589
Deuteranopia (green-blind)
#D6C88F
Tritanopia (blue-blind)
#D6C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca8d;
/* rgb */ color: rgb(205, 202, 141);
/* oklch */ color: oklch(82.7% 0.080 105.6);
Tailwind
colors: {
  custom: {
    50: '#dddaaf',
    500: '#cdca8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca8d;
$custom-light: #dddaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca8d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 141
  },
  "hsl": {
    "h": 57.187,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8269,
    "c": 0.07993,
    "h": 105.6
  },
  "luminance": 0.57143
}

Semantic roles & 50–950 ramp

primary
#CDCA8D
secondary
#5C60A2
accent
#39B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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