#CDC05F#CDC05F

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

Color values

HEX#CDC05F
RGBrgb(205, 192, 95)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 54%, 80%)
CMYKcmyk(0%, 6.3%, 53.7%, 19.6%)
CIE-LABlab(76.98, -7.97, 49.87)
CIE-LCHlch(76.98, 50.50, 99.08°)
OKLaboklab(79.88% -0.0243 0.117)
OKLCHoklch(79.88% 0.12 101.7)
XYZxyz(46.0935, 51.5063, 18.3380)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC05F #5F6CCD
analogous
#CD895F #CDC05F #A3CD5F
triadic
#CDC05F #5FCDC0 #C05FCD
tetradic
#CDC05F #5FCD89 #5F6CCD #CD5FA3
square
#CDC05F #5FCD89 #5F6CCD #CD5FA3
split-complementary
#CDC05F #5FA3CD #895FCD
monochromatic
#877C2A #B6A739 #CDC05F #DCD28E #EAE5BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC05F#FFFFFF#000000##000000
##CDC05F1.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)
#CFBB56
Deuteranopia (green-blind)
#D3C164
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc05f;
/* rgb */ color: rgb(205, 192, 95);
/* oklch */ color: oklch(79.9% 0.120 101.7);
Tailwind
colors: {
  custom: {
    50: '#ded28f',
    500: '#cdc05f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc05f;
$custom-light: #ded28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc05f",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 52.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79885,
    "c": 0.11952,
    "h": 101.7
  },
  "luminance": 0.51505
}

Semantic roles & 50–950 ramp

primary
#CDC05F
secondary
#424B8E
accent
#5DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC05F

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

Preview Lab → · Contrast checker → · Palette generator →

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