#D0CD32#D0CD32

#D0CD32 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.165 H 108.4°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D0CD32
RGBrgb(208, 205, 50)
HSLhsl(59, 63%, 51%)
HSVhsv(59, 76%, 82%)
CMYKcmyk(0%, 1.4%, 76%, 18.4%)
CIE-LABlab(80.35, -15.97, 71.51)
CIE-LCHlch(80.35, 73.27, 102.59°)
OKLaboklab(82.51% -0.0518 0.1562)
OKLCHoklch(82.51% 0.165 108.4)
XYZxyz(48.4214, 57.3044, 11.5272)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD32 #3235D0
analogous
#D07E32 #D0CD32 #84D032
triadic
#D0CD32 #32D0CD #CD32D0
tetradic
#D0CD32 #32D07E #3235D0 #D03284
square
#D0CD32 #32D07E #3235D0 #D03284
split-complementary
#D0CD32 #3284D0 #7E32D0
monochromatic
#6E6D19 #A09E25 #D0CD32 #DBD964 #E7E596

Accessibility & contrast

On white

1.69
#D0CD32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D0CD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD32
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD32#FFFFFF#000000##000000
##D0CD321.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC506
Deuteranopia (green-blind)
#E1CA3F
Tritanopia (blue-blind)
#DFBFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cd32;
/* rgb */ color: rgb(208, 205, 50);
/* oklch */ color: oklch(82.5% 0.165 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2db77',
    500: '#d0cd32',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd32;
$custom-light: #e2db77;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd32",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 50
  },
  "hsl": {
    "h": 58.861,
    "s": 62.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.82513,
    "c": 0.16454,
    "h": 108.4
  },
  "luminance": 0.57303
}

Semantic roles & 50–950 ramp

primary
#D0CD32
secondary
#2F3078
accent
#45E642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #D0CD32

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

Preview Lab → · Contrast checker → · Palette generator →

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