#D5BA3A#D5BA3A

#D5BA3A is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.144 H 96.8°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D5BA3A
RGBrgb(213, 186, 58)
HSLhsl(50, 65%, 53%)
HSVhsv(50, 73%, 84%)
CMYKcmyk(0%, 12.7%, 72.8%, 16.5%)
CIE-LABlab(75.81, -3.82, 64.69)
CIE-LCHlch(75.81, 64.80, 93.38°)
OKLaboklab(79.02% -0.0171 0.143)
OKLCHoklch(79.02% 0.144 96.8)
XYZxyz(45.7655, 49.5718, 11.1599)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA3A #3A55D5
analogous
#D56C3A #D5BA3A #A3D53A
triadic
#D5BA3A #3AD5BA #BA3AD5
tetradic
#D5BA3A #3AD56C #3A55D5 #D53AA3
square
#D5BA3A #3AD56C #3A55D5 #D53AA3
split-complementary
#D5BA3A #3AA3D5 #6C3AD5
monochromatic
#7A6A1A #AD9525 #D5BA3A #E0CC6C #EBDD9F

Accessibility & contrast

On white

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

On black

10.91
#D5BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA3A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA3A#FFFFFF#000000##000000
##D5BA3A1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB625
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#E6ACA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba3a;
/* rgb */ color: rgb(213, 186, 58);
/* oklch */ color: oklch(79.0% 0.144 96.8);
Tailwind
colors: {
  custom: {
    50: '#e6ce79',
    500: '#d5ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba3a;
$custom-light: #e6ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba3a",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 49.548,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.14397,
    "h": 96.8
  },
  "luminance": 0.49569
}

Semantic roles & 50–950 ramp

primary
#D5BA3A
secondary
#94A0D7
accent
#5DE840
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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