#CDC08D#CDC08D

#CDC08D is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.069 H 95.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CDC08D
RGBrgb(205, 192, 141)
HSLhsl(48, 39%, 68%)
HSVhsv(48, 31%, 80%)
CMYKcmyk(0%, 6.3%, 31.2%, 19.6%)
CIE-LABlab(77.64, -3.15, 27.41)
CIE-LCHlch(77.64, 27.59, 96.56°)
OKLaboklab(80.62% -0.0066 0.0687)
OKLCHoklch(80.62% 0.069 95.5)
XYZxyz(48.8347, 52.6028, 32.7750)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC08D #8D9ACD
analogous
#CDA08D #CDC08D #BACD8D
triadic
#CDC08D #8DCDC0 #C08DCD
tetradic
#CDC08D #8DCDA0 #8D9ACD #CD8DBA
square
#CDC08D #8DCDA0 #8D9ACD #CD8DBA
split-complementary
#CDC08D #8DBACD #A08DCD
monochromatic
#9B8A44 #BAA862 #CDC08D #E0D8B8 #F2EFE2

Accessibility & contrast

On white

1.82
#CDC08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CDC08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC08D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC08D#FFFFFF#000000##000000
##CDC08D1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD8A
Deuteranopia (green-blind)
#CEC28F
Tritanopia (blue-blind)
#D7B8B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc08d;
/* rgb */ color: rgb(205, 192, 141);
/* oklch */ color: oklch(80.6% 0.069 95.5);
Tailwind
colors: {
  custom: {
    50: '#ddd2ae',
    500: '#cdc08d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc08d;
$custom-light: #ddd2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc08d",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 141
  },
  "hsl": {
    "h": 47.812,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.80617,
    "c": 0.06902,
    "h": 95.5
  },
  "luminance": 0.52601
}

Semantic roles & 50–950 ramp

primary
#CDC08D
secondary
#5C6AA2
accent
#4DB233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC08D

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

Preview Lab → · Contrast checker → · Palette generator →

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