#CDC08F#CDC08F

#CDC08F is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.7% C 0.067 H 95.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CDC08F
RGBrgb(205, 192, 143)
HSLhsl(47, 38%, 68%)
HSVhsv(47, 30%, 80%)
CMYKcmyk(0%, 6.3%, 30.2%, 19.6%)
CIE-LABlab(77.68, -2.90, 26.40)
CIE-LCHlch(77.68, 26.56, 96.26°)
OKLaboklab(80.66% -0.0058 0.0663)
OKLCHoklch(80.66% 0.067 95)
XYZxyz(48.9849, 52.6628, 33.5658)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC08F #8F9CCD
analogous
#CDA18F #CDC08F #BBCD8F
triadic
#CDC08F #8FCDC0 #C08FCD
tetradic
#CDC08F #8FCDA1 #8F9CCD #CD8FBB
square
#CDC08F #8FCDA1 #8F9CCD #CD8FBB
split-complementary
#CDC08F #8FBBCD #A18FCD
monochromatic
#9C8A46 #BAA865 #CDC08F #E0D8B9 #F3F0E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC08F#FFFFFF#000000##000000
##CDC08F1.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)
#CABD8C
Deuteranopia (green-blind)
#CEC291
Tritanopia (blue-blind)
#D7B9B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc08f;
/* rgb */ color: rgb(205, 192, 143);
/* oklch */ color: oklch(80.7% 0.067 95.0);
Tailwind
colors: {
  custom: {
    50: '#ddd2b0',
    500: '#cdc08f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc08f;
$custom-light: #ddd2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc08f",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 143
  },
  "hsl": {
    "h": 47.419,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.80657,
    "c": 0.06659,
    "h": 95
  },
  "luminance": 0.52662
}

Semantic roles & 50–950 ramp

primary
#CDC08F
secondary
#5E6CA2
accent
#4EB134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC08F

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

Preview Lab → · Contrast checker → · Palette generator →

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