#CDC06A#CDC06A

#CDC06A is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.109 H 100.8°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CDC06A
RGBrgb(205, 192, 106)
HSLhsl(52, 50%, 61%)
HSVhsv(52, 48%, 80%)
CMYKcmyk(0%, 6.3%, 48.3%, 19.6%)
CIE-LABlab(77.11, -7.01, 44.69)
CIE-LCHlch(77.11, 45.24, 98.91°)
OKLaboklab(80.03% -0.0204 0.1067)
OKLCHoklch(80.03% 0.109 100.8)
XYZxyz(46.6293, 51.7206, 21.1597)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC06A #6A77CD
analogous
#CD8E6A #CDC06A #A8CD6A
triadic
#CDC06A #6ACDC0 #C06ACD
tetradic
#CDC06A #6ACD8E #6A77CD #CD6AA8
square
#CDC06A #6ACD8E #6A77CD #CD6AA8
split-complementary
#CDC06A #6AA8CD #8E6ACD
monochromatic
#8D812F #BBAB3F #CDC06A #DCD398 #ECE7C6

Accessibility & contrast

On white

1.85
#CDC06A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CDC06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC06A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC06A#FFFFFF#000000##000000
##CDC06A1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB63
Deuteranopia (green-blind)
#D2C16E
Tritanopia (blue-blind)
#DAB5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc06a;
/* rgb */ color: rgb(205, 192, 106);
/* oklch */ color: oklch(80.0% 0.109 100.8);
Tailwind
colors: {
  custom: {
    50: '#ded296',
    500: '#cdc06a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc06a;
$custom-light: #ded296;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc06a",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 106
  },
  "hsl": {
    "h": 52.121,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80029,
    "c": 0.10861,
    "h": 100.8
  },
  "luminance": 0.51719
}

Semantic roles & 50–950 ramp

primary
#CDC06A
secondary
#475194
accent
#3CBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC06A

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

Preview Lab → · Contrast checker → · Palette generator →

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