#D4B546#D4B546

#D4B546 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.132 H 93.4°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D4B546
RGBrgb(212, 181, 70)
HSLhsl(47, 62%, 55%)
HSVhsv(47, 67%, 83%)
CMYKcmyk(0%, 14.6%, 67%, 16.9%)
CIE-LABlab(74.50, -1.02, 58.57)
CIE-LCHlch(74.50, 58.58, 91.00°)
OKLaboklab(77.99% -0.0077 0.1322)
OKLCHoklch(77.99% 0.132 93.4)
XYZxyz(44.7830, 47.4894, 12.6007)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B546 #4665D4
analogous
#D46E46 #D4B546 #ACD446
triadic
#D4B546 #46D4B5 #B546D4
tetradic
#D4B546 #46D46E #4665D4 #D446AC
square
#D4B546 #46D46E #4665D4 #D446AC
split-complementary
#D4B546 #46ACD4 #6E46D4
monochromatic
#816C1E #B3952A #D4B546 #E0C978 #EBDDA9

Accessibility & contrast

On white

2.00
#D4B546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#D4B546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B546
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B546#FFFFFF#000000##000000
##D4B5461.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B238
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#E5A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b546;
/* rgb */ color: rgb(212, 181, 70);
/* oklch */ color: oklch(78.0% 0.132 93.4);
Tailwind
colors: {
  custom: {
    50: '#e5ca7f',
    500: '#d4b546',
    950: '#000000',
  },
}
SCSS
$custom: #d4b546;
$custom-light: #e5ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b546",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 46.901,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77992,
    "c": 0.13239,
    "h": 93.4
  },
  "luminance": 0.47487
}

Semantic roles & 50–950 ramp

primary
#D4B546
secondary
#9DAAD9
accent
#66E542
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B546

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

Preview Lab → · Contrast checker → · Palette generator →

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