#D5BA3B#D5BA3B

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

Color values

HEX#D5BA3B
RGBrgb(213, 186, 59)
HSLhsl(49, 65%, 53%)
HSVhsv(49, 72%, 84%)
CMYKcmyk(0%, 12.7%, 72.3%, 16.5%)
CIE-LABlab(75.81, -3.77, 64.32)
CIE-LCHlch(75.81, 64.43, 93.36°)
OKLaboklab(79.02% -0.0169 0.1424)
OKLCHoklch(79.02% 0.143 96.8)
XYZxyz(45.7912, 49.5821, 11.2952)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA3B #3B56D5
analogous
#D56D3B #D5BA3B #A3D53B
triadic
#D5BA3B #3BD5BA #BA3BD5
tetradic
#D5BA3B #3BD56D #3B56D5 #D53BA3
square
#D5BA3B #3BD56D #3B56D5 #D53BA3
split-complementary
#D5BA3B #3BA3D5 #6D3BD5
monochromatic
#7B6A1A #AE9625 #D5BA3B #E0CC6D #EBDDA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BA3B#FFFFFF#000000##000000
##D5BA3B1.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)
#CDB626
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#E6ACA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba3b;
/* rgb */ color: rgb(213, 186, 59);
/* oklch */ color: oklch(79.0% 0.143 96.8);
Tailwind
colors: {
  custom: {
    50: '#e6ce79',
    500: '#d5ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba3b;
$custom-light: #e6ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba3b",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 49.481,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79024,
    "c": 0.14337,
    "h": 96.8
  },
  "luminance": 0.4958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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