#D4BA4D#D4BA4D

#D4BA4D is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.131 H 95.8°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D4BA4D
RGBrgb(212, 186, 77)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 64%, 83%)
CMYKcmyk(0%, 12.3%, 63.7%, 16.9%)
CIE-LABlab(75.86, -3.22, 57.00)
CIE-LCHlch(75.86, 57.09, 93.23°)
OKLaboklab(79.08% -0.0132 0.1299)
OKLCHoklch(79.08% 0.131 95.8)
XYZxyz(46.0519, 49.6529, 14.1780)
Luminance0.4965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BA4D #4D67D4
analogous
#D4774D #D4BA4D #ABD44D
triadic
#D4BA4D #4DD4BA #BA4DD4
tetradic
#D4BA4D #4DD477 #4D67D4 #D44DAB
square
#D4BA4D #4DD477 #4D67D4 #D44DAB
split-complementary
#D4BA4D #4DABD4 #774DD4
monochromatic
#867320 #B79D2C #D4BA4D #E0CD7E #ECE0B0

Accessibility & contrast

On white

1.92
#D4BA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#D4BA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BA4D
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BA4D#FFFFFF#000000##000000
##D4BA4D1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB640
Deuteranopia (green-blind)
#D2BF52
Tritanopia (blue-blind)
#E4ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4ba4d;
/* rgb */ color: rgb(212, 186, 77);
/* oklch */ color: oklch(79.1% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#e4ce83',
    500: '#d4ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4ba4d;
$custom-light: #e4ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ba4d",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 48.444,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79081,
    "c": 0.13058,
    "h": 95.8
  },
  "luminance": 0.49651
}

Semantic roles & 50–950 ramp

primary
#D4BA4D
secondary
#A3ADDA
accent
#63E444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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