#CDC07A#CDC07A

#CDC07A is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.091 H 99.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CDC07A
RGBrgb(205, 192, 122)
HSLhsl(51, 45%, 64%)
HSVhsv(51, 40%, 80%)
CMYKcmyk(0%, 6.3%, 40.5%, 19.6%)
CIE-LABlab(77.33, -5.39, 36.90)
CIE-LCHlch(77.33, 37.30, 98.32°)
OKLaboklab(80.27% -0.0143 0.0902)
OKLCHoklch(80.27% 0.091 99)
XYZxyz(47.5403, 52.0850, 25.9577)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC07A #7A87CD
analogous
#CD977A #CDC07A #B1CD7A
triadic
#CDC07A #7ACDC0 #C07ACD
tetradic
#CDC07A #7ACD97 #7A87CD #CD7AB1
square
#CDC07A #7ACD97 #7A87CD #CD7AB1
split-complementary
#CDC07A #7AB1CD #977ACD
monochromatic
#958638 #BCAB4E #CDC07A #DED5A6 #EEEAD3

Accessibility & contrast

On white

1.84
#CDC07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CDC07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC07A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC07A#FFFFFF#000000##000000
##CDC07A1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC75
Deuteranopia (green-blind)
#D0C17D
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc07a;
/* rgb */ color: rgb(205, 192, 122);
/* oklch */ color: oklch(80.3% 0.091 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddd2a1',
    500: '#cdc07a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc07a;
$custom-light: #ddd2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc07a",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 122
  },
  "hsl": {
    "h": 50.602,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80272,
    "c": 0.0913,
    "h": 99
  },
  "luminance": 0.52084
}

Semantic roles & 50–950 ramp

primary
#CDC07A
secondary
#505C9B
accent
#43B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC07A

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

Preview Lab → · Contrast checker → · Palette generator →

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