#CDC059#CDC059

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

Color values

HEX#CDC059
RGBrgb(205, 192, 89)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 57%, 80%)
CMYKcmyk(0%, 6.3%, 56.6%, 19.6%)
CIE-LABlab(76.92, -8.44, 52.61)
CIE-LCHlch(76.92, 53.28, 99.12°)
OKLaboklab(79.81% -0.0264 0.1223)
OKLCHoklch(79.81% 0.125 102.2)
XYZxyz(45.8312, 51.4014, 16.9565)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC059 #5966CD
analogous
#CD8659 #CDC059 #A0CD59
triadic
#CDC059 #59CDC0 #C059CD
tetradic
#CDC059 #59CD86 #5966CD #CD59A0
square
#CDC059 #59CD86 #5966CD #CD59A0
split-complementary
#CDC059 #59A0CD #8659CD
monochromatic
#847A28 #B3A536 #CDC059 #DBD288 #E9E4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC059#FFFFFF#000000##000000
##CDC0591.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)
#CFBB4F
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#DBB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc059;
/* rgb */ color: rgb(205, 192, 89);
/* oklch */ color: oklch(79.8% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#dfd28b',
    500: '#cdc059',
    950: '#000000',
  },
}
SCSS
$custom: #cdc059;
$custom-light: #dfd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc059",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 53.276,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79814,
    "c": 0.12508,
    "h": 102.2
  },
  "luminance": 0.514
}

Semantic roles & 50–950 ramp

primary
#CDC059
secondary
#3F488B
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC059

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

Preview Lab → · Contrast checker → · Palette generator →

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