#CDC05A#CDC05A

#CDC05A is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.124 H 102.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CDC05A
RGBrgb(205, 192, 90)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 56%, 80%)
CMYKcmyk(0%, 6.3%, 56.1%, 19.6%)
CIE-LABlab(76.93, -8.36, 52.16)
CIE-LCHlch(76.93, 52.82, 99.11°)
OKLaboklab(79.83% -0.026 0.1214)
OKLCHoklch(79.83% 0.124 102.1)
XYZxyz(45.8735, 51.4183, 17.1792)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC05A #5A67CD
analogous
#CD865A #CDC05A #A1CD5A
triadic
#CDC05A #5ACDC0 #C05ACD
tetradic
#CDC05A #5ACD86 #5A67CD #CD5AA1
square
#CDC05A #5ACD86 #5A67CD #CD5AA1
split-complementary
#CDC05A #5AA1CD #865ACD
monochromatic
#847A28 #B3A536 #CDC05A #DBD289 #E9E4B8

Accessibility & contrast

On white

1.86
#CDC05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CDC05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC05A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC05A#FFFFFF#000000##000000
##CDC05A1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB50
Deuteranopia (green-blind)
#D3C15F
Tritanopia (blue-blind)
#DBB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc05a;
/* rgb */ color: rgb(205, 192, 90);
/* oklch */ color: oklch(79.8% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#dfd28c',
    500: '#cdc05a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc05a;
$custom-light: #dfd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc05a",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 53.217,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.12418,
    "h": 102.1
  },
  "luminance": 0.51417
}

Semantic roles & 50–950 ramp

primary
#CDC05A
secondary
#40488C
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC05A

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

Preview Lab → · Contrast checker → · Palette generator →

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