#CDC39E#CDC39E

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

Color values

HEX#CDC39E
RGBrgb(205, 195, 158)
HSLhsl(47, 32%, 71%)
HSVhsv(47, 23%, 80%)
CMYKcmyk(0%, 4.9%, 22.9%, 19.6%)
CIE-LABlab(78.74, -2.43, 19.89)
CIE-LCHlch(78.74, 20.04, 96.95°)
OKLaboklab(81.59% -0.0042 0.0508)
OKLCHoklch(81.59% 0.051 94.7)
XYZxyz(50.8635, 54.4790, 40.1772)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC39E #9EA8CD
analogous
#CDAB9E #CDC39E #BFCD9E
triadic
#CDC39E #9ECDC3 #C39ECD
tetradic
#CDC39E #9ECDAB #9EA8CD #CD9EBF
square
#CDC39E #9ECDAB #9EA8CD #CD9EBF
split-complementary
#CDC39E #9EBFCD #AB9ECD
monochromatic
#9F8E52 #B8AA76 #CDC39E #E2DCC6 #F5F3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC39E#FFFFFF#000000##000000
##CDC39E1.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc39e;
/* rgb */ color: rgb(205, 195, 158);
/* oklch */ color: oklch(81.6% 0.051 94.7);
Tailwind
colors: {
  custom: {
    50: '#dcd5ba',
    500: '#cdc39e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc39e;
$custom-light: #dcd5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc39e",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 158
  },
  "hsl": {
    "h": 47.234,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.05095,
    "h": 94.7
  },
  "luminance": 0.54478
}

Semantic roles & 50–950 ramp

primary
#CDC39E
secondary
#6D78A2
accent
#53AB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC39E

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

Preview Lab → · Contrast checker → · Palette generator →

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