#CDC559#CDC559

#CDC559 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.130 H 105.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CDC559
RGBrgb(205, 197, 89)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.9%, 56.6%, 19.6%)
CIE-LABlab(78.25, -11.00, 54.11)
CIE-LCHlch(78.25, 55.22, 101.49°)
OKLaboklab(80.87% -0.0337 0.1255)
OKLCHoklch(80.87% 0.13 105)
XYZxyz(46.9477, 53.6344, 17.3287)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC559 #5961CD
analogous
#CD8B59 #CDC559 #9BCD59
triadic
#CDC559 #59CDC5 #C559CD
tetradic
#CDC559 #59CD8B #5961CD #CD599B
square
#CDC559 #59CD8B #5961CD #CD599B
split-complementary
#CDC559 #599BCD #8B59CD
monochromatic
#847E28 #B3AA36 #CDC559 #DBD588 #E9E6B7

Accessibility & contrast

On white

1.79
#CDC559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CDC559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC559
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC559#FFFFFF#000000##000000
##CDC5591.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4E
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc559;
/* rgb */ color: rgb(205, 197, 89);
/* oklch */ color: oklch(80.9% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#dfd68b',
    500: '#cdc559',
    950: '#000000',
  },
}
SCSS
$custom: #cdc559;
$custom-light: #dfd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc559",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 89
  },
  "hsl": {
    "h": 55.862,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80868,
    "c": 0.12994,
    "h": 105
  },
  "luminance": 0.53633
}

Semantic roles & 50–950 ramp

primary
#CDC559
secondary
#3F448B
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC559

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

Preview Lab → · Contrast checker → · Palette generator →

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