#CDC39B#CDC39B

#CDC39B is a light, muted yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.055 H 95.7°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CDC39B
RGBrgb(205, 195, 155)
HSLhsl(48, 33%, 71%)
HSVhsv(48, 24%, 80%)
CMYKcmyk(0%, 4.9%, 24.4%, 19.6%)
CIE-LABlab(78.68, -2.85, 21.41)
CIE-LCHlch(78.68, 21.60, 97.58°)
OKLaboklab(81.52% -0.0054 0.0545)
OKLCHoklch(81.52% 0.055 95.7)
XYZxyz(50.6084, 54.3769, 38.8338)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC39B #9BA5CD
analogous
#CDAA9B #CDC39B #BECD9B
triadic
#CDC39B #9BCDC3 #C39BCD
tetradic
#CDC39B #9BCDAA #9BA5CD #CD9BBE
square
#CDC39B #9BCDAA #9BA5CD #CD9BBE
split-complementary
#CDC39B #9BBECD #AA9BCD
monochromatic
#9E8F4F #B9AB72 #CDC39B #E1DBC4 #F5F3EB

Accessibility & contrast

On white

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

On black

11.88
#CDC39B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC39B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC39B#FFFFFF#000000##000000
##CDC39B1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc39b;
/* rgb */ color: rgb(205, 195, 155);
/* oklch */ color: oklch(81.5% 0.055 95.7);
Tailwind
colors: {
  custom: {
    50: '#dcd5b8',
    500: '#cdc39b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc39b;
$custom-light: #dcd5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc39b",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 155
  },
  "hsl": {
    "h": 48,
    "s": 33.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.81524,
    "c": 0.05473,
    "h": 95.7
  },
  "luminance": 0.54376
}

Semantic roles & 50–950 ramp

primary
#CDC39B
secondary
#6A75A2
accent
#50AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC39B

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

Preview Lab → · Contrast checker → · Palette generator →

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