#CDC859#CDC859

#CDC859 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.133 H 106.6°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CDC859
RGBrgb(205, 200, 89)
HSLhsl(57, 54%, 58%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.4%, 56.6%, 19.6%)
CIE-LABlab(79.05, -12.52, 55.01)
CIE-LCHlch(79.05, 56.42, 102.82°)
OKLaboklab(81.5% -0.038 0.1274)
OKLCHoklch(81.5% 0.133 106.6)
XYZxyz(47.6357, 55.0104, 17.5580)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC859 #595ECD
analogous
#CD8E59 #CDC859 #98CD59
triadic
#CDC859 #59CDC8 #C859CD
tetradic
#CDC859 #59CD8E #595ECD #CD5998
square
#CDC859 #59CD8E #595ECD #CD5998
split-complementary
#CDC859 #5998CD #8E59CD
monochromatic
#848028 #B3AE36 #CDC859 #DBD888 #E9E7B7

Accessibility & contrast

On white

1.75
#CDC859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CDC859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC859
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC859#FFFFFF#000000##000000
##CDC8591.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14D
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#DABCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc859;
/* rgb */ color: rgb(205, 200, 89);
/* oklch */ color: oklch(81.5% 0.133 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd88c',
    500: '#cdc859',
    950: '#000000',
  },
}
SCSS
$custom: #cdc859;
$custom-light: #dfd88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc859",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 57.414,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81504,
    "c": 0.13298,
    "h": 106.6
  },
  "luminance": 0.55009
}

Semantic roles & 50–950 ramp

primary
#CDC859
secondary
#3F428B
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC859

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

Preview Lab → · Contrast checker → · Palette generator →

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