#D4B754#D4B754

#D4B754 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.123 H 93.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D4B754
RGBrgb(212, 183, 84)
HSLhsl(46, 60%, 58%)
HSVhsv(46, 60%, 83%)
CMYKcmyk(0%, 13.7%, 60.4%, 16.9%)
CIE-LABlab(75.14, -1.19, 53.07)
CIE-LCHlch(75.14, 53.08, 91.28°)
OKLaboklab(78.54% -0.0065 0.1225)
OKLCHoklch(78.54% 0.123 93.1)
XYZxyz(45.6871, 48.5064, 15.3420)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B754 #5471D4
analogous
#D47754 #D4B754 #B1D454
triadic
#D4B754 #54D4B7 #B754D4
tetradic
#D4B754 #54D477 #5471D4 #D454B1
square
#D4B754 #54D477 #5471D4 #D454B1
split-complementary
#D4B754 #54B1D4 #7754D4
monochromatic
#8B7323 #BC9C2F #D4B754 #E0CC85 #EDE0B6

Accessibility & contrast

On white

1.96
#D4B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D4B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B754
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B754#FFFFFF#000000##000000
##D4B7541.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44A
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#E4AAA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b754;
/* rgb */ color: rgb(212, 183, 84);
/* oklch */ color: oklch(78.5% 0.123 93.1);
Tailwind
colors: {
  custom: {
    50: '#e4cc88',
    500: '#d4b754',
    950: '#000000',
  },
}
SCSS
$custom: #d4b754;
$custom-light: #e4cc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b754",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 46.406,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78538,
    "c": 0.12267,
    "h": 93.1
  },
  "luminance": 0.48504
}

Semantic roles & 50–950 ramp

primary
#D4B754
secondary
#A8B4DB
accent
#69E345
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D4B754

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

Preview Lab → · Contrast checker → · Palette generator →

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