#CDC08E#CDC08E

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

Color values

HEX#CDC08E
RGBrgb(205, 192, 142)
HSLhsl(48, 39%, 68%)
HSVhsv(48, 31%, 80%)
CMYKcmyk(0%, 6.3%, 30.7%, 19.6%)
CIE-LABlab(77.66, -3.03, 26.91)
CIE-LCHlch(77.66, 27.08, 96.42°)
OKLaboklab(80.64% -0.0062 0.0675)
OKLCHoklch(80.64% 0.068 95.3)
XYZxyz(48.9095, 52.6327, 33.1686)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC08E #8E9BCD
analogous
#CDA08E #CDC08E #BACD8E
triadic
#CDC08E #8ECDC0 #C08ECD
tetradic
#CDC08E #8ECDA0 #8E9BCD #CD8EBA
square
#CDC08E #8ECDA0 #8E9BCD #CD8EBA
split-complementary
#CDC08E #8EBACD #A08ECD
monochromatic
#9C8A45 #BAA864 #CDC08E #E0D8B8 #F3EFE3

Accessibility & contrast

On white

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

On black

11.53
#CDC08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC08E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC08E#FFFFFF#000000##000000
##CDC08E1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD8B
Deuteranopia (green-blind)
#CEC290
Tritanopia (blue-blind)
#D7B9B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc08e;
/* rgb */ color: rgb(205, 192, 142);
/* oklch */ color: oklch(80.6% 0.068 95.3);
Tailwind
colors: {
  custom: {
    50: '#ddd2af',
    500: '#cdc08e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc08e;
$custom-light: #ddd2af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc08e",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 142
  },
  "hsl": {
    "h": 47.619,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.80637,
    "c": 0.06781,
    "h": 95.3
  },
  "luminance": 0.52631
}

Semantic roles & 50–950 ramp

primary
#CDC08E
secondary
#5D6BA2
accent
#4EB234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC08E

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

Preview Lab → · Contrast checker → · Palette generator →

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