#D4C050#D4C050

#D4C050 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.133 H 99.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D4C050
RGBrgb(212, 192, 80)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 62%, 83%)
CMYKcmyk(0%, 9.4%, 62.3%, 16.9%)
CIE-LABlab(77.45, -6.14, 57.41)
CIE-LCHlch(77.45, 57.74, 96.10°)
OKLaboklab(80.35% -0.0212 0.1312)
OKLCHoklch(80.35% 0.133 99.2)
XYZxyz(47.4509, 52.2776, 15.1790)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C050 #5064D4
analogous
#D47E50 #D4C050 #A6D450
triadic
#D4C050 #50D4C0 #C050D4
tetradic
#D4C050 #50D47E #5064D4 #D450A6
square
#D4C050 #50D47E #5064D4 #D450A6
split-complementary
#D4C050 #50A6D4 #7E50D4
monochromatic
#887921 #B9A42E #D4C050 #E0D281 #ECE3B2

Accessibility & contrast

On white

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

On black

11.46
#D4C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C050
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C050#FFFFFF#000000##000000
##D4C0501.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E3B3A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4c050;
/* rgb */ color: rgb(212, 192, 80);
/* oklch */ color: oklch(80.3% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#e4d286',
    500: '#d4c050',
    950: '#000000',
  },
}
SCSS
$custom: #d4c050;
$custom-light: #e4d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c050",
  "rgb": {
    "r": 212,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 50.909,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80349,
    "c": 0.13293,
    "h": 99.2
  },
  "luminance": 0.52276
}

Semantic roles & 50–950 ramp

primary
#D4C050
secondary
#3A478F
accent
#5CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C050

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

Preview Lab → · Contrast checker → · Palette generator →

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