#CDC05C#CDC05C

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

Color values

HEX#CDC05C
RGBrgb(205, 192, 92)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 55%, 80%)
CMYKcmyk(0%, 6.3%, 55.1%, 19.6%)
CIE-LABlab(76.95, -8.21, 51.25)
CIE-LCHlch(76.95, 51.90, 99.10°)
OKLaboklab(79.85% -0.0254 0.1197)
OKLCHoklch(79.85% 0.122 102)
XYZxyz(45.9598, 51.4528, 17.6336)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC05C #5C69CD
analogous
#CD875C #CDC05C #A2CD5C
triadic
#CDC05C #5CCDC0 #C05CCD
tetradic
#CDC05C #5CCD87 #5C69CD #CD5CA2
square
#CDC05C #5CCD87 #5C69CD #CD5CA2
split-complementary
#CDC05C #5CA2CD #875CCD
monochromatic
#867B29 #B4A637 #CDC05C #DBD28B #EAE4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC05C#FFFFFF#000000##000000
##CDC05C1.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)
#CFBB52
Deuteranopia (green-blind)
#D3C161
Tritanopia (blue-blind)
#DBB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc05c;
/* rgb */ color: rgb(205, 192, 92);
/* oklch */ color: oklch(79.8% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd28d',
    500: '#cdc05c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc05c;
$custom-light: #dfd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc05c",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 53.097,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79849,
    "c": 0.12234,
    "h": 102
  },
  "luminance": 0.51451
}

Semantic roles & 50–950 ramp

primary
#CDC05C
secondary
#40498D
accent
#5CDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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