#D0CD42#D0CD42

#D0CD42 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.155 H 108.1°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D0CD42
RGBrgb(208, 205, 66)
HSLhsl(59, 60%, 54%)
HSVhsv(59, 68%, 82%)
CMYKcmyk(0%, 1.4%, 68.3%, 18.4%)
CIE-LABlab(80.44, -15.25, 66.12)
CIE-LCHlch(80.44, 67.86, 102.98°)
OKLaboklab(82.62% -0.0483 0.1476)
OKLCHoklch(82.62% 0.155 108.1)
XYZxyz(48.8289, 57.4674, 13.6734)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD42 #4245D0
analogous
#D08642 #D0CD42 #8CD042
triadic
#D0CD42 #42D0CD #CD42D0
tetradic
#D0CD42 #42D086 #4245D0 #D0428C
square
#D0CD42 #42D086 #4245D0 #D0428C
split-complementary
#D0CD42 #428CD0 #8642D0
monochromatic
#79771E #AAA82A #D0CD42 #DCDA73 #E8E7A4

Accessibility & contrast

On white

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

On black

12.49
#D0CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD42
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD42#FFFFFF#000000##000000
##D0CD421.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#DFC0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd42;
/* rgb */ color: rgb(208, 205, 66);
/* oklch */ color: oklch(82.6% 0.155 108.1);
Tailwind
colors: {
  custom: {
    50: '#e2dc7f',
    500: '#d0cd42',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd42;
$custom-light: #e2dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd42",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 58.732,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82615,
    "c": 0.15529,
    "h": 108.1
  },
  "luminance": 0.57466
}

Semantic roles & 50–950 ramp

primary
#D0CD42
secondary
#353681
accent
#48E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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