#D4B53E#D4B53E

#D4B53E is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.138 H 94.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#D4B53E
RGBrgb(212, 181, 62)
HSLhsl(48, 64%, 54%)
HSVhsv(48, 71%, 83%)
CMYKcmyk(0%, 14.6%, 70.8%, 16.9%)
CIE-LABlab(74.44, -1.45, 61.79)
CIE-LCHlch(74.44, 61.80, 91.34°)
OKLaboklab(77.93% -0.0099 0.1376)
OKLCHoklch(77.93% 0.138 94.1)
XYZxyz(44.5471, 47.3951, 11.3583)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B53E #3E5DD4
analogous
#D46A3E #D4B53E #A8D43E
triadic
#D4B53E #3ED4B5 #B53ED4
tetradic
#D4B53E #3ED46A #3E5DD4 #D43EA8
square
#D4B53E #3ED46A #3E5DD4 #D43EA8
split-complementary
#D4B53E #3EA8D4 #6A3ED4
monochromatic
#7C681C #AE9227 #D4B53E #DFC870 #EADBA2

Accessibility & contrast

On white

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

On black

10.48
#D4B53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B53E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B53E#FFFFFF#000000##000000
##D4B53E1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22D
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#E5A79D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b53e;
/* rgb */ color: rgb(212, 181, 62);
/* oklch */ color: oklch(77.9% 0.138 94.1);
Tailwind
colors: {
  custom: {
    50: '#e5ca7a',
    500: '#d4b53e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b53e;
$custom-light: #e5ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b53e",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 62
  },
  "hsl": {
    "h": 47.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77925,
    "c": 0.13794,
    "h": 94.1
  },
  "luminance": 0.47393
}

Semantic roles & 50–950 ramp

primary
#D4B53E
secondary
#97A4D7
accent
#63E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B53E

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

Preview Lab → · Contrast checker → · Palette generator →

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