#D4B454#D4B454

#D4B454 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.9% C 0.121 H 90.9°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D4B454
RGBrgb(212, 180, 84)
HSLhsl(45, 60%, 58%)
HSVhsv(45, 60%, 83%)
CMYKcmyk(0%, 15.1%, 60.4%, 16.9%)
CIE-LABlab(74.37, 0.39, 52.20)
CIE-LCHlch(74.37, 52.20, 89.57°)
OKLaboklab(77.93% -0.002 0.1206)
OKLCHoklch(77.93% 0.121 90.9)
XYZxyz(45.0749, 47.2821, 15.1379)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B454 #5474D4
analogous
#D47454 #D4B454 #B4D454
triadic
#D4B454 #54D4B4 #B454D4
tetradic
#D4B454 #54D474 #5474D4 #D454B4
square
#D4B454 #54D474 #5474D4 #D454B4
split-complementary
#D4B454 #54B4D4 #7454D4
monochromatic
#8B7123 #BC992F #D4B454 #E0C985 #EDDFB6

Accessibility & contrast

On white

2.01
#D4B454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D4B454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B454
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B454#FFFFFF#000000##000000
##D4B4541.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24A
Deuteranopia (green-blind)
#CEBB58
Tritanopia (blue-blind)
#E4A79F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b454;
/* rgb */ color: rgb(212, 180, 84);
/* oklch */ color: oklch(77.9% 0.121 90.9);
Tailwind
colors: {
  custom: {
    50: '#e4ca87',
    500: '#d4b454',
    950: '#000000',
  },
}
SCSS
$custom: #d4b454;
$custom-light: #e4ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b454",
  "rgb": {
    "r": 212,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 45,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77928,
    "c": 0.12066,
    "h": 90.9
  },
  "luminance": 0.4728
}

Semantic roles & 50–950 ramp

primary
#D4B454
secondary
#A8B5DB
accent
#6CE345
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B454

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

Preview Lab → · Contrast checker → · Palette generator →

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