#CDC99A#CDC99A

#CDC99A is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.063 H 103.6°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDC99A
RGBrgb(205, 201, 154)
HSLhsl(55, 34%, 70%)
HSVhsv(55, 25%, 80%)
CMYKcmyk(0%, 2%, 24.9%, 19.6%)
CIE-LABlab(80.23, -6.11, 24.06)
CIE-LCHlch(80.23, 24.82, 104.25°)
OKLaboklab(82.74% -0.0147 0.0609)
OKLCHoklch(82.74% 0.063 103.6)
XYZxyz(51.8962, 57.0864, 38.8505)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC99A #9A9ECD
analogous
#CDAF9A #CDC99A #B7CD9A
triadic
#CDC99A #9ACDC9 #C99ACD
tetradic
#CDC99A #9ACDAF #9A9ECD #CD9AB7
square
#CDC99A #9ACDAF #9A9ECD #CD9AB7
split-complementary
#CDC99A #9AB7CD #AF9ACD
monochromatic
#9E984E #B9B371 #CDC99A #E1DFC3 #F5F4EB

Accessibility & contrast

On white

1.69
#CDC99A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDC99A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC99A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC99A#FFFFFF#000000##000000
##CDC99A1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C597
Deuteranopia (green-blind)
#D3C89C
Tritanopia (blue-blind)
#D5C3BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc99a;
/* rgb */ color: rgb(205, 201, 154);
/* oklch */ color: oklch(82.7% 0.063 103.6);
Tailwind
colors: {
  custom: {
    50: '#dcd9b8',
    500: '#cdc99a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc99a;
$custom-light: #dcd9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc99a",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 154
  },
  "hsl": {
    "h": 55.294,
    "s": 33.775,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8274,
    "c": 0.06264,
    "h": 103.6
  },
  "luminance": 0.57086
}

Semantic roles & 50–950 ramp

primary
#CDC99A
secondary
#696DA2
accent
#42AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC99A

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

Preview Lab → · Contrast checker → · Palette generator →

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