#D4B651#D4B651

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

Color values

HEX#D4B651
RGBrgb(212, 182, 81)
HSLhsl(46, 60%, 57%)
HSVhsv(46, 62%, 83%)
CMYKcmyk(0%, 14.2%, 61.8%, 16.9%)
CIE-LABlab(74.86, -0.87, 54.12)
CIE-LCHlch(74.86, 54.13, 90.92°)
OKLaboklab(78.3% -0.006 0.1244)
OKLCHoklch(78.3% 0.124 92.7)
XYZxyz(45.3666, 48.0494, 14.6679)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B651 #516FD4
analogous
#D47551 #D4B651 #B0D451
triadic
#D4B651 #51D4B6 #B651D4
tetradic
#D4B651 #51D475 #516FD4 #D451B0
square
#D4B651 #51D475 #516FD4 #D451B0
split-complementary
#D4B651 #51B0D4 #7551D4
monochromatic
#897122 #BA9A2E #D4B651 #E0CB82 #ECDFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B651#FFFFFF#000000##000000
##D4B6511.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)
#C8B346
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#E4A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b651;
/* rgb */ color: rgb(212, 182, 81);
/* oklch */ color: oklch(78.3% 0.124 92.7);
Tailwind
colors: {
  custom: {
    50: '#e4cb86',
    500: '#d4b651',
    950: '#000000',
  },
}
SCSS
$custom: #d4b651;
$custom-light: #e4cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b651",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 46.26,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78302,
    "c": 0.12449,
    "h": 92.7
  },
  "luminance": 0.48047
}

Semantic roles & 50–950 ramp

primary
#D4B651
secondary
#A6B2DB
accent
#69E444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B651

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

Preview Lab → · Contrast checker → · Palette generator →

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