#D4B654#D4B654

#D4B654 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.122 H 92.4°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D4B654
RGBrgb(212, 182, 84)
HSLhsl(46, 60%, 58%)
HSVhsv(46, 60%, 83%)
CMYKcmyk(0%, 14.2%, 60.4%, 16.9%)
CIE-LABlab(74.89, -0.66, 52.78)
CIE-LCHlch(74.89, 52.78, 90.72°)
OKLaboklab(78.33% -0.005 0.1219)
OKLCHoklch(78.33% 0.122 92.4)
XYZxyz(45.4816, 48.0954, 15.2735)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B654 #5472D4
analogous
#D47654 #D4B654 #B2D454
triadic
#D4B654 #54D4B6 #B654D4
tetradic
#D4B654 #54D476 #5472D4 #D454B2
square
#D4B654 #54D476 #5472D4 #D454B2
split-complementary
#D4B654 #54B2D4 #7654D4
monochromatic
#8B7223 #BC9B2F #D4B654 #E0CB85 #EDE0B6

Accessibility & contrast

On white

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

On black

10.62
#D4B654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B654
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B654#FFFFFF#000000##000000
##D4B6541.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b654;
/* rgb */ color: rgb(212, 182, 84);
/* oklch */ color: oklch(78.3% 0.122 92.4);
Tailwind
colors: {
  custom: {
    50: '#e4cb87',
    500: '#d4b654',
    950: '#000000',
  },
}
SCSS
$custom: #d4b654;
$custom-light: #e4cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b654",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 45.938,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78334,
    "c": 0.12198,
    "h": 92.4
  },
  "luminance": 0.48093
}

Semantic roles & 50–950 ramp

primary
#D4B654
secondary
#A8B4DB
accent
#6AE345
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D4B654

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

Preview Lab → · Contrast checker → · Palette generator →

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