#D4B650#D4B650

#D4B650 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.125 H 92.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D4B650
RGBrgb(212, 182, 80)
HSLhsl(46, 61%, 57%)
HSVhsv(46, 62%, 83%)
CMYKcmyk(0%, 14.2%, 62.3%, 16.9%)
CIE-LABlab(74.85, -0.93, 54.57)
CIE-LCHlch(74.85, 54.57, 90.98°)
OKLaboklab(78.29% -0.0063 0.1252)
OKLCHoklch(78.29% 0.125 92.9)
XYZxyz(45.3294, 48.0345, 14.4718)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B650 #506ED4
analogous
#D47450 #D4B650 #B0D450
triadic
#D4B650 #50D4B6 #B650D4
tetradic
#D4B650 #50D474 #506ED4 #D450B0
square
#D4B650 #50D474 #506ED4 #D450B0
split-complementary
#D4B650 #50B0D4 #7450D4
monochromatic
#887121 #B99A2E #D4B650 #E0CA81 #ECDFB2

Accessibility & contrast

On white

1.98
#D4B650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D4B650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B650
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B650#FFFFFF#000000##000000
##D4B6501.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#CFBC55
Tritanopia (blue-blind)
#E4A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b650;
/* rgb */ color: rgb(212, 182, 80);
/* oklch */ color: oklch(78.3% 0.125 92.9);
Tailwind
colors: {
  custom: {
    50: '#e4cb85',
    500: '#d4b650',
    950: '#000000',
  },
}
SCSS
$custom: #d4b650;
$custom-light: #e4cb85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b650",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 80
  },
  "hsl": {
    "h": 46.364,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.12532,
    "h": 92.9
  },
  "luminance": 0.48032
}

Semantic roles & 50–950 ramp

primary
#D4B650
secondary
#A5B1DB
accent
#68E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B650

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

Preview Lab → · Contrast checker → · Palette generator →

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