#D0CD40#D0CD40

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

Color values

HEX#D0CD40
RGBrgb(208, 205, 64)
HSLhsl(59, 61%, 53%)
HSVhsv(59, 69%, 82%)
CMYKcmyk(0%, 1.4%, 69.2%, 18.4%)
CIE-LABlab(80.43, -15.35, 66.85)
CIE-LCHlch(80.43, 68.59, 102.93°)
OKLaboklab(82.6% -0.0488 0.1488)
OKLCHoklch(82.6% 0.157 108.2)
XYZxyz(48.7709, 57.4443, 13.3683)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD40 #4043D0
analogous
#D08540 #D0CD40 #8BD040
triadic
#D0CD40 #40D0CD #CD40D0
tetradic
#D0CD40 #40D085 #4043D0 #D0408B
square
#D0CD40 #40D085 #4043D0 #D0408B
split-complementary
#D0CD40 #408BD0 #8540D0
monochromatic
#78761E #A9A72A #D0CD40 #DCDA71 #E8E7A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0CD40#FFFFFF#000000##000000
##D0CD401.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)
#DEC529
Deuteranopia (green-blind)
#E0CA4A
Tritanopia (blue-blind)
#DFC0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd40;
/* rgb */ color: rgb(208, 205, 64);
/* oklch */ color: oklch(82.6% 0.157 108.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc7d',
    500: '#d0cd40',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd40;
$custom-light: #e2dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd40",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 58.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82601,
    "c": 0.15658,
    "h": 108.2
  },
  "luminance": 0.57443
}

Semantic roles & 50–950 ramp

primary
#D0CD40
secondary
#343680
accent
#47E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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