#D4B63F#D4B63F

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

Color values

HEX#D4B63F
RGBrgb(212, 182, 63)
HSLhsl(48, 63%, 54%)
HSVhsv(48, 70%, 83%)
CMYKcmyk(0%, 14.2%, 70.3%, 16.9%)
CIE-LABlab(74.71, -1.92, 61.66)
CIE-LCHlch(74.71, 61.69, 91.79°)
OKLaboklab(78.14% -0.0111 0.1375)
OKLCHoklch(78.14% 0.138 94.6)
XYZxyz(44.7788, 47.8143, 11.5721)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B63F #3F5DD4
analogous
#D46C3F #D4B63F #A8D43F
triadic
#D4B63F #3FD4B6 #B63FD4
tetradic
#D4B63F #3FD46C #3F5DD4 #D43FA8
square
#D4B63F #3FD46C #3F5DD4 #D43FA8
split-complementary
#D4B63F #3FA8D4 #6C3FD4
monochromatic
#7D691C #AF9327 #D4B63F #DFC971 #EADCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B63F#FFFFFF#000000##000000
##D4B63F1.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)
#C9B32E
Deuteranopia (green-blind)
#D0BC46
Tritanopia (blue-blind)
#E5A89E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b63f;
/* rgb */ color: rgb(212, 182, 63);
/* oklch */ color: oklch(78.1% 0.138 94.6);
Tailwind
colors: {
  custom: {
    50: '#e5cb7b',
    500: '#d4b63f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b63f;
$custom-light: #e5cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b63f",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 63
  },
  "hsl": {
    "h": 47.919,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78137,
    "c": 0.13794,
    "h": 94.6
  },
  "luminance": 0.47812
}

Semantic roles & 50–950 ramp

primary
#D4B63F
secondary
#98A4D7
accent
#63E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B63F

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

Preview Lab → · Contrast checker → · Palette generator →

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