#D0CC4A#D0CC4A

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

Color values

HEX#D0CC4A
RGBrgb(208, 204, 74)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 1.9%, 64.4%, 18.4%)
CIE-LABlab(80.23, -14.30, 62.80)
CIE-LCHlch(80.23, 64.40, 102.83°)
OKLaboklab(82.47% -0.0449 0.1418)
OKLCHoklch(82.47% 0.149 107.6)
XYZxyz(48.8430, 57.0916, 14.9241)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC4A #4A4ED0
analogous
#D0894A #D0CC4A #91D04A
triadic
#D0CC4A #4AD0CC #CC4AD0
tetradic
#D0CC4A #4AD089 #4A4ED0 #D04A91
square
#D0CC4A #4AD089 #4A4ED0 #D04A91
split-complementary
#D0CC4A #4A91D0 #894AD0
monochromatic
#7F7C21 #AFAB2E #D0CC4A #DDDA7B #E9E7AB

Accessibility & contrast

On white

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

On black

12.42
#D0CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC4A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC4A#FFFFFF#000000##000000
##D0CC4A1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DFC952
Tritanopia (blue-blind)
#DEBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc4a;
/* rgb */ color: rgb(208, 204, 74);
/* oklch */ color: oklch(82.5% 0.149 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2db83',
    500: '#d0cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc4a;
$custom-light: #e2db83;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc4a",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 58.209,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82465,
    "c": 0.14876,
    "h": 107.6
  },
  "luminance": 0.5709
}

Semantic roles & 50–950 ramp

primary
#D0CC4A
secondary
#383A86
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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