#CDC05E#CDC05E

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

Color values

HEX#CDC05E
RGBrgb(205, 192, 94)
HSLhsl(53, 53%, 59%)
HSVhsv(53, 54%, 80%)
CMYKcmyk(0%, 6.3%, 54.1%, 19.6%)
CIE-LABlab(76.97, -8.05, 50.33)
CIE-LCHlch(76.97, 50.97, 99.09°)
OKLaboklab(79.87% -0.0247 0.1179)
OKLCHoklch(79.87% 0.12 101.8)
XYZxyz(46.0483, 51.4882, 18.1001)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC05E #5E6BCD
analogous
#CD885E #CDC05E #A2CD5E
triadic
#CDC05E #5ECDC0 #C05ECD
tetradic
#CDC05E #5ECD88 #5E6BCD #CD5EA2
square
#CDC05E #5ECD88 #5E6BCD #CD5EA2
split-complementary
#CDC05E #5EA2CD #885ECD
monochromatic
#877C2A #B5A738 #CDC05E #DCD28D #EAE5BB

Accessibility & contrast

On white

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

On black

11.30
#CDC05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC05E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC05E#FFFFFF#000000##000000
##CDC05E1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB55
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc05e;
/* rgb */ color: rgb(205, 192, 94);
/* oklch */ color: oklch(79.9% 0.120 101.8);
Tailwind
colors: {
  custom: {
    50: '#dfd28e',
    500: '#cdc05e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc05e;
$custom-light: #dfd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc05e",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 52.973,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79873,
    "c": 0.12047,
    "h": 101.8
  },
  "luminance": 0.51487
}

Semantic roles & 50–950 ramp

primary
#CDC05E
secondary
#414A8E
accent
#5DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC05E

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

Preview Lab → · Contrast checker → · Palette generator →

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