#CDCD59#CDCD59

#CDCD59 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.138 H 109.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CDCD59
RGBrgb(205, 205, 89)
HSLhsl(60, 54%, 58%)
HSVhsv(60, 57%, 80%)
CMYKcmyk(0%, 0%, 56.6%, 19.6%)
CIE-LABlab(80.38, -15.04, 56.51)
CIE-LCHlch(80.38, 58.48, 104.90°)
OKLaboklab(82.57% -0.0452 0.1306)
OKLCHoklch(82.57% 0.138 109.1)
XYZxyz(48.8127, 57.3643, 17.9504)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD59 #5959CD
analogous
#CD9359 #CDCD59 #93CD59
triadic
#CDCD59 #59CDCD #CD59CD
tetradic
#CDCD59 #59CD93 #5959CD #CD5993
square
#CDCD59 #59CD93 #5959CD #CD5993
split-complementary
#CDCD59 #5993CD #9359CD
monochromatic
#848428 #B3B336 #CDCD59 #DBDB88 #E9E9B7

Accessibility & contrast

On white

1.68
#CDCD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CDCD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD59
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD59#FFFFFF#000000##000000
##CDCD591.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#DEC960
Tritanopia (blue-blind)
#DAC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd59;
/* rgb */ color: rgb(205, 205, 89);
/* oklch */ color: oklch(82.6% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc8c',
    500: '#cdcd59',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd59;
$custom-light: #dfdc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd59",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82569,
    "c": 0.13824,
    "h": 109.1
  },
  "luminance": 0.57363
}

Semantic roles & 50–950 ramp

primary
#CDCD59
secondary
#3F3F8B
accent
#4BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCD59

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

Preview Lab → · Contrast checker → · Palette generator →

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