#CDC39A#CDC39A

#CDC39A is a light, muted yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.056 H 96.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CDC39A
RGBrgb(205, 195, 154)
HSLhsl(48, 34%, 70%)
HSVhsv(48, 25%, 80%)
CMYKcmyk(0%, 4.9%, 24.9%, 19.6%)
CIE-LABlab(78.66, -2.99, 21.91)
CIE-LCHlch(78.66, 22.12, 97.77°)
OKLaboklab(81.5% -0.0058 0.0557)
OKLCHoklch(81.5% 0.056 96)
XYZxyz(50.5248, 54.3435, 38.3934)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC39A #9AA4CD
analogous
#CDA99A #CDC39A #BDCD9A
triadic
#CDC39A #9ACDC3 #C39ACD
tetradic
#CDC39A #9ACDA9 #9AA4CD #CD9ABD
square
#CDC39A #9ACDA9 #9AA4CD #CD9ABD
split-complementary
#CDC39A #9ABDCD #A99ACD
monochromatic
#9E8F4E #B9AB71 #CDC39A #E1DBC3 #F5F3EB

Accessibility & contrast

On white

1.77
#CDC39A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CDC39A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC39A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC39A#FFFFFF#000000##000000
##CDC39A1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC197
Deuteranopia (green-blind)
#CEC49B
Tritanopia (blue-blind)
#D5BDB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc39a;
/* rgb */ color: rgb(205, 195, 154);
/* oklch */ color: oklch(81.5% 0.056 96.0);
Tailwind
colors: {
  custom: {
    50: '#dcd5b8',
    500: '#cdc39a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc39a;
$custom-light: #dcd5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc39a",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 154
  },
  "hsl": {
    "h": 48.235,
    "s": 33.775,
    "l": 70.392
  },
  "oklch": {
    "l": 0.81502,
    "c": 0.05598,
    "h": 96
  },
  "luminance": 0.54342
}

Semantic roles & 50–950 ramp

primary
#CDC39A
secondary
#6974A2
accent
#50AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC39A

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

Preview Lab → · Contrast checker → · Palette generator →

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