#CDC39F#CDC39F

#CDC39F is a light, muted yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.050 H 94.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC39F
RGBrgb(205, 195, 159)
HSLhsl(47, 32%, 71%)
HSVhsv(47, 22%, 80%)
CMYKcmyk(0%, 4.9%, 22.4%, 19.6%)
CIE-LABlab(78.76, -2.28, 19.39)
CIE-LCHlch(78.76, 19.52, 96.71°)
OKLaboklab(81.61% -0.0037 0.0495)
OKLCHoklch(81.61% 0.05 94.3)
XYZxyz(50.9499, 54.5135, 40.6324)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC39F #9FA9CD
analogous
#CDAC9F #CDC39F #C0CD9F
triadic
#CDC39F #9FCDC3 #C39FCD
tetradic
#CDC39F #9FCDAC #9FA9CD #CD9FC0
square
#CDC39F #9FCDAC #9FA9CD #CD9FC0
split-complementary
#CDC39F #9FC0CD #AC9FCD
monochromatic
#9F8E53 #B8AA77 #CDC39F #E2DCC7 #F5F2EB

Accessibility & contrast

On white

1.76
#CDC39F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC39F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC39F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC39F#FFFFFF#000000##000000
##CDC39F1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC19D
Deuteranopia (green-blind)
#CEC4A0
Tritanopia (blue-blind)
#D5BDB9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc39f;
/* rgb */ color: rgb(205, 195, 159);
/* oklch */ color: oklch(81.6% 0.050 94.3);
Tailwind
colors: {
  custom: {
    50: '#dcd5bb',
    500: '#cdc39f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc39f;
$custom-light: #dcd5bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc39f",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 159
  },
  "hsl": {
    "h": 46.957,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.81612,
    "c": 0.04968,
    "h": 94.3
  },
  "luminance": 0.54513
}

Semantic roles & 50–950 ramp

primary
#CDC39F
secondary
#6E79A2
accent
#53AA3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CDC39F

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

Preview Lab → · Contrast checker → · Palette generator →

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