#D4B950#D4B950

#D4B950 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.127 H 94.9°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D4B950
RGBrgb(212, 185, 80)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 62%, 83%)
CMYKcmyk(0%, 12.7%, 62.3%, 16.9%)
CIE-LABlab(75.62, -2.50, 55.42)
CIE-LCHlch(75.62, 55.48, 92.59°)
OKLaboklab(78.91% -0.0108 0.127)
OKLCHoklch(78.91% 0.127 94.9)
XYZxyz(45.9504, 49.2764, 14.6788)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B950 #506BD4
analogous
#D47750 #D4B950 #ADD450
triadic
#D4B950 #50D4B9 #B950D4
tetradic
#D4B950 #50D477 #506BD4 #D450AD
square
#D4B950 #50D477 #506BD4 #D450AD
split-complementary
#D4B950 #50ADD4 #7750D4
monochromatic
#887321 #B99D2E #D4B950 #E0CD81 #ECE0B2

Accessibility & contrast

On white

1.93
#D4B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#D4B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B950
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B950#FFFFFF#000000##000000
##D4B9501.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB544
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#E4ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b950;
/* rgb */ color: rgb(212, 185, 80);
/* oklch */ color: oklch(78.9% 0.127 94.9);
Tailwind
colors: {
  custom: {
    50: '#e4cd85',
    500: '#d4b950',
    950: '#000000',
  },
}
SCSS
$custom: #d4b950;
$custom-light: #e4cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b950",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 47.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78905,
    "c": 0.12744,
    "h": 94.9
  },
  "luminance": 0.49274
}

Semantic roles & 50–950 ramp

primary
#D4B950
secondary
#A5B0DB
accent
#65E444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B950

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

Preview Lab → · Contrast checker → · Palette generator →

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