#D4B552#D4B552

#D4B552 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.123 H 91.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#D4B552
RGBrgb(212, 181, 82)
HSLhsl(46, 60%, 58%)
HSVhsv(46, 61%, 83%)
CMYKcmyk(0%, 14.6%, 61.3%, 16.9%)
CIE-LABlab(74.61, -0.28, 53.39)
CIE-LCHlch(74.61, 53.39, 90.30°)
OKLaboklab(78.11% -0.0041 0.1229)
OKLCHoklch(78.11% 0.123 91.9)
XYZxyz(45.2003, 47.6564, 14.7988)
Luminance0.4765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B552 #5271D4
analogous
#D47452 #D4B552 #B2D452
triadic
#D4B552 #52D4B5 #B552D4
tetradic
#D4B552 #52D474 #5271D4 #D452B2
square
#D4B552 #52D474 #5271D4 #D452B2
split-complementary
#D4B552 #52B2D4 #7452D4
monochromatic
#897122 #BA992E #D4B552 #E0CA83 #ECDFB4

Accessibility & contrast

On white

1.99
#D4B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#D4B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B552
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B552#FFFFFF#000000##000000
##D4B5521.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B248
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#E4A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b552;
/* rgb */ color: rgb(212, 181, 82);
/* oklch */ color: oklch(78.1% 0.123 91.9);
Tailwind
colors: {
  custom: {
    50: '#e4ca86',
    500: '#d4b552',
    950: '#000000',
  },
}
SCSS
$custom: #d4b552;
$custom-light: #e4ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b552",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 45.692,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78109,
    "c": 0.12299,
    "h": 91.9
  },
  "luminance": 0.47654
}

Semantic roles & 50–950 ramp

primary
#D4B552
secondary
#A7B3DB
accent
#6AE344
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B552

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

Preview Lab → · Contrast checker → · Palette generator →

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