#D4C05A#D4C05A

#D4C05A is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.124 H 98.4°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D4C05A
RGBrgb(212, 192, 90)
HSLhsl(50, 59%, 59%)
HSVhsv(50, 58%, 83%)
CMYKcmyk(0%, 9.4%, 57.5%, 16.9%)
CIE-LABlab(77.54, -5.44, 53.01)
CIE-LCHlch(77.54, 53.29, 95.86°)
OKLaboklab(80.45% -0.0181 0.1231)
OKLCHoklch(80.45% 0.124 98.4)
XYZxyz(47.8483, 52.4365, 17.2718)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C05A #5A6ED4
analogous
#D4835A #D4C05A #ABD45A
triadic
#D4C05A #5AD4C0 #C05AD4
tetradic
#D4C05A #5AD483 #5A6ED4 #D45AAB
square
#D4C05A #5AD483 #5A6ED4 #D45AAB
split-complementary
#D4C05A #5AABD4 #835AD4
monochromatic
#8E7D25 #BFA832 #D4C05A #E1D38B #EDE5BB

Accessibility & contrast

On white

1.83
#D4C05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D4C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C05A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C05A#FFFFFF#000000##000000
##D4C05A1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC50
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#E3B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c05a;
/* rgb */ color: rgb(212, 192, 90);
/* oklch */ color: oklch(80.5% 0.124 98.4);
Tailwind
colors: {
  custom: {
    50: '#e4d28c',
    500: '#d4c05a',
    950: '#000000',
  },
}
SCSS
$custom: #d4c05a;
$custom-light: #e4d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c05a",
  "rgb": {
    "r": 212,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 50.164,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80454,
    "c": 0.12443,
    "h": 98.4
  },
  "luminance": 0.52435
}

Semantic roles & 50–950 ramp

primary
#D4C05A
secondary
#3E4C94
accent
#60E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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