#CDC08A#CDC08A

#CDC08A is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.073 H 96.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CDC08A
RGBrgb(205, 192, 138)
HSLhsl(48, 40%, 67%)
HSVhsv(48, 33%, 80%)
CMYKcmyk(0%, 6.3%, 32.7%, 19.6%)
CIE-LABlab(77.59, -3.53, 28.92)
CIE-LCHlch(77.59, 29.14, 96.96°)
OKLaboklab(80.56% -0.0079 0.0722)
OKLCHoklch(80.56% 0.073 96.2)
XYZxyz(48.6145, 52.5147, 31.6153)
Luminance0.5251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC08A #8A97CD
analogous
#CD9E8A #CDC08A #B9CD8A
triadic
#CDC08A #8ACDC0 #C08ACD
tetradic
#CDC08A #8ACD9E #8A97CD #CD8AB9
square
#CDC08A #8ACD9E #8A97CD #CD8AB9
split-complementary
#CDC08A #8AB9CD #9E8ACD
monochromatic
#9B8942 #BBA95F #CDC08A #DFD7B5 #F2EEE0

Accessibility & contrast

On white

1.83
#CDC08A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CDC08A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC08A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC08A#FFFFFF#000000##000000
##CDC08A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBD86
Deuteranopia (green-blind)
#CEC28C
Tritanopia (blue-blind)
#D7B8B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc08a;
/* rgb */ color: rgb(205, 192, 138);
/* oklch */ color: oklch(80.6% 0.073 96.2);
Tailwind
colors: {
  custom: {
    50: '#ddd2ac',
    500: '#cdc08a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc08a;
$custom-light: #ddd2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc08a",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 138
  },
  "hsl": {
    "h": 48.358,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.80558,
    "c": 0.07264,
    "h": 96.2
  },
  "luminance": 0.52513
}

Semantic roles & 50–950 ramp

primary
#CDC08A
secondary
#5A68A1
accent
#4BB332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC08A

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

Preview Lab → · Contrast checker → · Palette generator →

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