#D5BA56#D5BA56

#D5BA56 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.123 H 94.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D5BA56
RGBrgb(213, 186, 86)
HSLhsl(47, 60%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 12.7%, 59.6%, 16.5%)
CIE-LABlab(76.03, -2.19, 53.17)
CIE-LCHlch(76.03, 53.22, 92.36°)
OKLaboklab(79.27% -0.0093 0.123)
OKLCHoklch(79.27% 0.123 94.3)
XYZxyz(46.6812, 49.9381, 15.9825)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA56 #5671D5
analogous
#D57A56 #D5BA56 #B0D556
triadic
#D5BA56 #56D5BA #BA56D5
tetradic
#D5BA56 #56D57A #5671D5 #D556B0
square
#D5BA56 #56D57A #5671D5 #D556B0
split-complementary
#D5BA56 #56B0D5 #7A56D5
monochromatic
#8D7723 #BEA02F #D5BA56 #E1CE87 #EDE2B8

Accessibility & contrast

On white

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

On black

10.99
#D5BA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA56
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA56#FFFFFF#000000##000000
##D5BA561.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ba56;
/* rgb */ color: rgb(213, 186, 86);
/* oklch */ color: oklch(79.3% 0.123 94.3);
Tailwind
colors: {
  custom: {
    50: '#e5ce89',
    500: '#d5ba56',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba56;
$custom-light: #e5ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba56",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 47.244,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79268,
    "c": 0.1233,
    "h": 94.3
  },
  "luminance": 0.49936
}

Semantic roles & 50–950 ramp

primary
#D5BA56
secondary
#AAB5DD
accent
#66E344
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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