#CDC459#CDC459

#CDC459 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.129 H 104.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CDC459
RGBrgb(205, 196, 89)
HSLhsl(55, 54%, 58%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.4%, 56.6%, 19.6%)
CIE-LABlab(77.98, -10.49, 53.81)
CIE-LCHlch(77.98, 54.82, 101.03°)
OKLaboklab(80.66% -0.0322 0.1249)
OKLCHoklch(80.66% 0.129 104.5)
XYZxyz(46.7214, 53.1818, 17.2533)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC459 #5962CD
analogous
#CD8A59 #CDC459 #9CCD59
triadic
#CDC459 #59CDC4 #C459CD
tetradic
#CDC459 #59CD8A #5962CD #CD599C
square
#CDC459 #59CD8A #5962CD #CD599C
split-complementary
#CDC459 #599CCD #8A59CD
monochromatic
#847D28 #B3A936 #CDC459 #DBD588 #E9E5B7

Accessibility & contrast

On white

1.80
#CDC459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CDC459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC459
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC459#FFFFFF#000000##000000
##CDC4591.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4E
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc459;
/* rgb */ color: rgb(205, 196, 89);
/* oklch */ color: oklch(80.7% 0.129 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd58b',
    500: '#cdc459',
    950: '#000000',
  },
}
SCSS
$custom: #cdc459;
$custom-light: #dfd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc459",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 55.345,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80657,
    "c": 0.12895,
    "h": 104.5
  },
  "luminance": 0.5318
}

Semantic roles & 50–950 ramp

primary
#CDC459
secondary
#3F458B
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC459

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

Preview Lab → · Contrast checker → · Palette generator →

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