#CDC05D#CDC05D

#CDC05D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.121 H 101.9°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CDC05D
RGBrgb(205, 192, 93)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 55%, 80%)
CMYKcmyk(0%, 6.3%, 54.6%, 19.6%)
CIE-LABlab(76.96, -8.13, 50.79)
CIE-LCHlch(76.96, 51.44, 99.09°)
OKLaboklab(79.86% -0.025 0.1188)
OKLCHoklch(79.86% 0.121 101.9)
XYZxyz(46.0038, 51.4704, 17.8653)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC05D #5D6ACD
analogous
#CD885D #CDC05D #A2CD5D
triadic
#CDC05D #5DCDC0 #C05DCD
tetradic
#CDC05D #5DCD88 #5D6ACD #CD5DA2
square
#CDC05D #5DCD88 #5D6ACD #CD5DA2
split-complementary
#CDC05D #5DA2CD #885DCD
monochromatic
#867B29 #B5A638 #CDC05D #DBD28C #EAE4BB

Accessibility & contrast

On white

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

On black

11.29
#CDC05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC05D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC05D#FFFFFF#000000##000000
##CDC05D1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB53
Deuteranopia (green-blind)
#D3C162
Tritanopia (blue-blind)
#DBB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc05d;
/* rgb */ color: rgb(205, 192, 93);
/* oklch */ color: oklch(79.9% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#dfd28e',
    500: '#cdc05d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc05d;
$custom-light: #dfd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc05d",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 53.036,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79861,
    "c": 0.12141,
    "h": 101.9
  },
  "luminance": 0.51469
}

Semantic roles & 50–950 ramp

primary
#CDC05D
secondary
#414A8D
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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