#D4B64F#D4B64F

#D4B64F is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.126 H 93.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D4B64F
RGBrgb(212, 182, 79)
HSLhsl(46, 61%, 57%)
HSVhsv(46, 63%, 83%)
CMYKcmyk(0%, 14.2%, 62.7%, 16.9%)
CIE-LABlab(74.84, -1.00, 55.01)
CIE-LCHlch(74.84, 55.01, 91.04°)
OKLaboklab(78.28% -0.0066 0.126)
OKLCHoklch(78.28% 0.126 93)
XYZxyz(45.2927, 48.0198, 14.2787)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B64F #4F6DD4
analogous
#D4744F #D4B64F #B0D44F
triadic
#D4B64F #4FD4B6 #B64FD4
tetradic
#D4B64F #4FD474 #4F6DD4 #D44FB0
square
#D4B64F #4FD474 #4F6DD4 #D44FB0
split-complementary
#D4B64F #4FB0D4 #744FD4
monochromatic
#877021 #B9992D #D4B64F #E0CA80 #ECDFB1

Accessibility & contrast

On white

1.98
#D4B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D4B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B64F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B64F#FFFFFF#000000##000000
##D4B64F1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B344
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#E4A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b64f;
/* rgb */ color: rgb(212, 182, 79);
/* oklch */ color: oklch(78.3% 0.126 93.0);
Tailwind
colors: {
  custom: {
    50: '#e4cb84',
    500: '#d4b64f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b64f;
$custom-light: #e4cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b64f",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 46.466,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78282,
    "c": 0.12613,
    "h": 93
  },
  "luminance": 0.48017
}

Semantic roles & 50–950 ramp

primary
#D4B64F
secondary
#A4B1DA
accent
#68E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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