#D4B63E#D4B63E

#D4B63E is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.139 H 94.7°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#D4B63E
RGBrgb(212, 182, 62)
HSLhsl(48, 64%, 54%)
HSVhsv(48, 71%, 83%)
CMYKcmyk(0%, 14.2%, 70.8%, 16.9%)
CIE-LABlab(74.70, -1.97, 62.04)
CIE-LCHlch(74.70, 62.08, 91.82°)
OKLaboklab(78.13% -0.0114 0.1381)
OKLCHoklch(78.13% 0.139 94.7)
XYZxyz(44.7511, 47.8032, 11.4263)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B63E #3E5CD4
analogous
#D46B3E #D4B63E #A7D43E
triadic
#D4B63E #3ED4B6 #B63ED4
tetradic
#D4B63E #3ED46B #3E5CD4 #D43EA7
square
#D4B63E #3ED46B #3E5CD4 #D43EA7
split-complementary
#D4B63E #3EA7D4 #6B3ED4
monochromatic
#7C691C #AE9327 #D4B63E #DFC970 #EADCA2

Accessibility & contrast

On white

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

On black

10.56
#D4B63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B63E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B63E#FFFFFF#000000##000000
##D4B63E1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22C
Deuteranopia (green-blind)
#D0BC45
Tritanopia (blue-blind)
#E5A89E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b63e;
/* rgb */ color: rgb(212, 182, 62);
/* oklch */ color: oklch(78.1% 0.139 94.7);
Tailwind
colors: {
  custom: {
    50: '#e5cb7a',
    500: '#d4b63e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b63e;
$custom-light: #e5cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b63e",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 62
  },
  "hsl": {
    "h": 48,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7813,
    "c": 0.1386,
    "h": 94.7
  },
  "luminance": 0.47801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B63E

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

Preview Lab → · Contrast checker → · Palette generator →

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