#CDC08B#CDC08B

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

Color values

HEX#CDC08B
RGBrgb(205, 192, 139)
HSLhsl(48, 40%, 67%)
HSVhsv(48, 32%, 80%)
CMYKcmyk(0%, 6.3%, 32.2%, 19.6%)
CIE-LABlab(77.60, -3.41, 28.42)
CIE-LCHlch(77.60, 28.62, 96.83°)
OKLaboklab(80.58% -0.0074 0.071)
OKLCHoklch(80.58% 0.071 96)
XYZxyz(48.6872, 52.5438, 31.9983)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC08B #8B98CD
analogous
#CD9F8B #CDC08B #B9CD8B
triadic
#CDC08B #8BCDC0 #C08BCD
tetradic
#CDC08B #8BCD9F #8B98CD #CD8BB9
square
#CDC08B #8BCD9F #8B98CD #CD8BB9
split-complementary
#CDC08B #8BB9CD #9F8BCD
monochromatic
#9B8943 #BBA960 #CDC08B #DFD7B6 #F2EEE1

Accessibility & contrast

On white

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

On black

11.51
#CDC08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC08B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC08B#FFFFFF#000000##000000
##CDC08B1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc08b;
/* rgb */ color: rgb(205, 192, 139);
/* oklch */ color: oklch(80.6% 0.071 96.0);
Tailwind
colors: {
  custom: {
    50: '#ddd2ad',
    500: '#cdc08b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc08b;
$custom-light: #ddd2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc08b",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 139
  },
  "hsl": {
    "h": 48.182,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.80578,
    "c": 0.07143,
    "h": 96
  },
  "luminance": 0.52542
}

Semantic roles & 50–950 ramp

primary
#CDC08B
secondary
#5B69A1
accent
#4CB333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC08B

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

Preview Lab → · Contrast checker → · Palette generator →

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