#CDC99E#CDC99E

#CDC99E is a very light, muted yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.058 H 103.1°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CDC99E
RGBrgb(205, 201, 158)
HSLhsl(55, 32%, 71%)
HSVhsv(55, 23%, 80%)
CMYKcmyk(0%, 2%, 22.9%, 19.6%)
CIE-LABlab(80.30, -5.55, 22.05)
CIE-LCHlch(80.30, 22.74, 104.13°)
OKLaboklab(82.83% -0.0131 0.0561)
OKLCHoklch(82.83% 0.058 103.1)
XYZxyz(52.2349, 57.2219, 40.6343)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC99E #9EA2CD
analogous
#CDB19E #CDC99E #B9CD9E
triadic
#CDC99E #9ECDC9 #C99ECD
tetradic
#CDC99E #9ECDB1 #9EA2CD #CD9EB9
square
#CDC99E #9ECDB1 #9EA2CD #CD9EB9
split-complementary
#CDC99E #9EB9CD #B19ECD
monochromatic
#9F9852 #B8B376 #CDC99E #E2DFC6 #F5F4EB

Accessibility & contrast

On white

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

On black

12.44
#CDC99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC99E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC99E#FFFFFF#000000##000000
##CDC99E1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C69B
Deuteranopia (green-blind)
#D3C8A0
Tritanopia (blue-blind)
#D4C3BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc99e;
/* rgb */ color: rgb(205, 201, 158);
/* oklch */ color: oklch(82.8% 0.058 103.1);
Tailwind
colors: {
  custom: {
    50: '#dcd9ba',
    500: '#cdc99e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc99e;
$custom-light: #dcd9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc99e",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 158
  },
  "hsl": {
    "h": 54.894,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.82825,
    "c": 0.05756,
    "h": 103.1
  },
  "luminance": 0.57221
}

Semantic roles & 50–950 ramp

primary
#CDC99E
secondary
#6D71A2
accent
#44AB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC99E

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

Preview Lab → · Contrast checker → · Palette generator →

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