#D5BA59#D5BA59

#D5BA59 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.121 H 93.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D5BA59
RGBrgb(213, 186, 89)
HSLhsl(47, 60%, 59%)
HSVhsv(47, 58%, 84%)
CMYKcmyk(0%, 12.7%, 58.2%, 16.5%)
CIE-LABlab(76.06, -1.98, 51.81)
CIE-LCHlch(76.06, 51.85, 92.19°)
OKLaboklab(79.3% -0.0083 0.1204)
OKLCHoklch(79.3% 0.121 93.9)
XYZxyz(46.8046, 49.9875, 16.6324)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA59 #5974D5
analogous
#D57C59 #D5BA59 #B2D559
triadic
#D5BA59 #59D5BA #BA59D5
tetradic
#D5BA59 #59D57C #5974D5 #D559B2
square
#D5BA59 #59D57C #5974D5 #D559B2
split-complementary
#D5BA59 #59B2D5 #7C59D5
monochromatic
#8F7824 #C0A131 #D5BA59 #E1CE8A #EEE3BB

Accessibility & contrast

On white

1.91
#D5BA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#D5BA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA59
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA59#FFFFFF#000000##000000
##D5BA591.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB74F
Deuteranopia (green-blind)
#D2BF5D
Tritanopia (blue-blind)
#E5ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba59;
/* rgb */ color: rgb(213, 186, 89);
/* oklch */ color: oklch(79.3% 0.121 93.9);
Tailwind
colors: {
  custom: {
    50: '#e5ce8b',
    500: '#d5ba59',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba59;
$custom-light: #e5ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba59",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 46.935,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79302,
    "c": 0.12068,
    "h": 93.9
  },
  "luminance": 0.49985
}

Semantic roles & 50–950 ramp

primary
#D5BA59
secondary
#ADB7DD
accent
#67E345
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5BA59

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

Preview Lab → · Contrast checker → · Palette generator →

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