#D4B53F#D4B53F

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

Color values

HEX#D4B53F
RGBrgb(212, 181, 63)
HSLhsl(48, 63%, 54%)
HSVhsv(48, 70%, 83%)
CMYKcmyk(0%, 14.6%, 70.3%, 16.9%)
CIE-LABlab(74.45, -1.40, 61.40)
CIE-LCHlch(74.45, 61.41, 91.31°)
OKLaboklab(77.93% -0.0096 0.1369)
OKLCHoklch(77.93% 0.137 94)
XYZxyz(44.5748, 47.4061, 11.5041)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B53F #3F5ED4
analogous
#D46B3F #D4B53F #A9D43F
triadic
#D4B53F #3FD4B5 #B53FD4
tetradic
#D4B53F #3FD46B #3F5ED4 #D43FA9
square
#D4B53F #3FD46B #3F5ED4 #D43FA9
split-complementary
#D4B53F #3FA9D4 #6B3FD4
monochromatic
#7D691C #AF9227 #D4B53F #DFC871 #EADCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B53F#FFFFFF#000000##000000
##D4B53F1.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)
#C8B22E
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#E5A79D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b53f;
/* rgb */ color: rgb(212, 181, 63);
/* oklch */ color: oklch(77.9% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#e5ca7b',
    500: '#d4b53f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b53f;
$custom-light: #e5ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b53f",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 63
  },
  "hsl": {
    "h": 47.517,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77933,
    "c": 0.13728,
    "h": 94
  },
  "luminance": 0.47404
}

Semantic roles & 50–950 ramp

primary
#D4B53F
secondary
#98A5D7
accent
#64E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B53F

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

Preview Lab → · Contrast checker → · Palette generator →

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