#D0CC4D#D0CC4D

#D0CC4D is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.147 H 107.5°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D0CC4D
RGBrgb(208, 204, 77)
HSLhsl(58, 58%, 56%)
HSVhsv(58, 63%, 82%)
CMYKcmyk(0%, 1.9%, 63%, 18.4%)
CIE-LABlab(80.25, -14.12, 61.60)
CIE-LCHlch(80.25, 63.19, 102.91°)
OKLaboklab(82.49% -0.044 0.1398)
OKLCHoklch(82.49% 0.147 107.5)
XYZxyz(48.9465, 57.1330, 15.4692)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC4D #4D51D0
analogous
#D08A4D #D0CC4D #92D04D
triadic
#D0CC4D #4DD0CC #CC4DD0
tetradic
#D0CC4D #4DD08A #4D51D0 #D04D92
square
#D0CC4D #4DD08A #4D51D0 #D04D92
split-complementary
#D0CC4D #4D92D0 #8A4DD0
monochromatic
#817E22 #B1AD2F #D0CC4D #DDDA7D #EAE8AE

Accessibility & contrast

On white

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

On black

12.43
#D0CC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC4D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC4D#FFFFFF#000000##000000
##D0CC4D1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43D
Deuteranopia (green-blind)
#DFC955
Tritanopia (blue-blind)
#DEBFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc4d;
/* rgb */ color: rgb(208, 204, 77);
/* oklch */ color: oklch(82.5% 0.147 107.5);
Tailwind
colors: {
  custom: {
    50: '#e1db85',
    500: '#d0cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc4d;
$custom-light: #e1db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc4d",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 58.168,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82491,
    "c": 0.14652,
    "h": 107.5
  },
  "luminance": 0.57131
}

Semantic roles & 50–950 ramp

primary
#D0CC4D
secondary
#393C88
accent
#4BE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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