#CDCA8A#CDCA8A

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

Color values

HEX#CDCA8A
RGBrgb(205, 202, 138)
HSLhsl(57, 40%, 67%)
HSVhsv(57, 33%, 80%)
CMYKcmyk(0%, 1.5%, 32.7%, 19.6%)
CIE-LABlab(80.21, -8.71, 32.40)
CIE-LCHlch(80.21, 33.55, 105.05°)
OKLaboklab(82.64% -0.0227 0.0804)
OKLCHoklch(82.64% 0.084 105.8)
XYZxyz(50.8853, 57.0562, 32.3722)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA8A #8A8DCD
analogous
#CDA88A #CDCA8A #AFCD8A
triadic
#CDCA8A #8ACDCA #CA8ACD
tetradic
#CDCA8A #8ACDA8 #8A8DCD #CD8AAF
square
#CDCA8A #8ACDA8 #8A8DCD #CD8AAF
split-complementary
#CDCA8A #8AAFCD #A88ACD
monochromatic
#9B9742 #BBB75F #CDCA8A #DFDDB5 #F2F1E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA8A#FFFFFF#000000##000000
##CDCA8A1.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)
#D5C586
Deuteranopia (green-blind)
#D6C88D
Tritanopia (blue-blind)
#D6C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca8a;
/* rgb */ color: rgb(205, 202, 138);
/* oklch */ color: oklch(82.6% 0.084 105.8);
Tailwind
colors: {
  custom: {
    50: '#dddaac',
    500: '#cdca8a',
    950: '#000000',
  },
}
SCSS
$custom: #cdca8a;
$custom-light: #dddaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca8a",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 57.313,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82635,
    "c": 0.08354,
    "h": 105.8
  },
  "luminance": 0.57055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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