#CDC29D#CDC29D

#CDC29D is a light, muted yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.051 H 93.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CDC29D
RGBrgb(205, 194, 157)
HSLhsl(46, 32%, 71%)
HSVhsv(46, 23%, 80%)
CMYKcmyk(0%, 5.4%, 23.4%, 19.6%)
CIE-LABlab(78.46, -2.04, 20.04)
CIE-LCHlch(78.46, 20.14, 95.82°)
OKLaboklab(81.36% -0.0031 0.0511)
OKLCHoklch(81.36% 0.051 93.4)
XYZxyz(50.5545, 53.9981, 39.6513)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC29D #9DA8CD
analogous
#CDAA9D #CDC29D #C0CD9D
triadic
#CDC29D #9DCDC2 #C29DCD
tetradic
#CDC29D #9DCDAA #9DA8CD #CD9DC0
square
#CDC29D #9DCDAA #9DA8CD #CD9DC0
split-complementary
#CDC29D #9DC0CD #AA9DCD
monochromatic
#9F8D51 #B8A974 #CDC29D #E2DBC6 #F5F2EB

Accessibility & contrast

On white

1.78
#CDC29D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CDC29D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC29D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC29D#FFFFFF#000000##000000
##CDC29D1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAC09B
Deuteranopia (green-blind)
#CDC49E
Tritanopia (blue-blind)
#D5BCB8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc29d;
/* rgb */ color: rgb(205, 194, 157);
/* oklch */ color: oklch(81.4% 0.051 93.4);
Tailwind
colors: {
  custom: {
    50: '#dcd4ba',
    500: '#cdc29d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc29d;
$custom-light: #dcd4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc29d",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 157
  },
  "hsl": {
    "h": 46.25,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.81363,
    "c": 0.05122,
    "h": 93.4
  },
  "luminance": 0.53997
}

Semantic roles & 50–950 ramp

primary
#CDC29D
secondary
#6C78A2
accent
#54AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC29D

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

Preview Lab → · Contrast checker → · Palette generator →

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