#D4B844#D4B844

#D4B844 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.136 H 95.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D4B844
RGBrgb(212, 184, 68)
HSLhsl(48, 63%, 55%)
HSVhsv(48, 68%, 83%)
CMYKcmyk(0%, 13.2%, 67.9%, 16.9%)
CIE-LABlab(75.26, -2.70, 60.20)
CIE-LCHlch(75.26, 60.26, 92.57°)
OKLaboklab(78.59% -0.0128 0.1353)
OKLCHoklch(78.59% 0.136 95.4)
XYZxyz(45.3375, 48.6977, 12.4793)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B844 #4460D4
analogous
#D47044 #D4B844 #A8D444
triadic
#D4B844 #44D4B8 #B844D4
tetradic
#D4B844 #44D470 #4460D4 #D444A8
square
#D4B844 #44D470 #4460D4 #D444A8
split-complementary
#D4B844 #44A8D4 #7044D4
monochromatic
#806D1D #B29729 #D4B844 #DFCB76 #EBDEA8

Accessibility & contrast

On white

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

On black

10.74
#D4B844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B844
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B844#FFFFFF#000000##000000
##D4B8441.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB435
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#E4AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b844;
/* rgb */ color: rgb(212, 184, 68);
/* oklch */ color: oklch(78.6% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#e5cd7e',
    500: '#d4b844',
    950: '#000000',
  },
}
SCSS
$custom: #d4b844;
$custom-light: #e5cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b844",
  "rgb": {
    "r": 212,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 48.333,
    "s": 62.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78588,
    "c": 0.13587,
    "h": 95.4
  },
  "luminance": 0.48695
}

Semantic roles & 50–950 ramp

primary
#D4B844
secondary
#9CA7D8
accent
#62E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B844

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

Preview Lab → · Contrast checker → · Palette generator →

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