#D4BA4A#D4BA4A

#D4BA4A is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.133 H 96.1°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D4BA4A
RGBrgb(212, 186, 74)
HSLhsl(49, 62%, 56%)
HSVhsv(49, 65%, 83%)
CMYKcmyk(0%, 12.3%, 65.1%, 16.9%)
CIE-LABlab(75.83, -3.40, 58.27)
CIE-LCHlch(75.83, 58.37, 93.34°)
OKLaboklab(79.05% -0.0141 0.1322)
OKLCHoklch(79.05% 0.133 96.1)
XYZxyz(45.9484, 49.6116, 13.6330)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BA4A #4A64D4
analogous
#D4754A #D4BA4A #A9D44A
triadic
#D4BA4A #4AD4BA #BA4AD4
tetradic
#D4BA4A #4AD475 #4A64D4 #D44AA9
square
#D4BA4A #4AD475 #4A64D4 #D44AA9
split-complementary
#D4BA4A #4AA9D4 #754AD4
monochromatic
#84711F #B69C2B #D4BA4A #E0CD7B #EBE0AD

Accessibility & contrast

On white

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

On black

10.92
#D4BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BA4A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BA4A#FFFFFF#000000##000000
##D4BA4A1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63C
Deuteranopia (green-blind)
#D3BE50
Tritanopia (blue-blind)
#E4ADA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4ba4a;
/* rgb */ color: rgb(212, 186, 74);
/* oklch */ color: oklch(79.1% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#e5ce82',
    500: '#d4ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ba4a;
$custom-light: #e5ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ba4a",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 48.696,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79052,
    "c": 0.13291,
    "h": 96.1
  },
  "luminance": 0.49609
}

Semantic roles & 50–950 ramp

primary
#D4BA4A
secondary
#A0ABD9
accent
#62E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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