#D5BA55#D5BA55

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

Color values

HEX#D5BA55
RGBrgb(213, 186, 85)
HSLhsl(47, 60%, 58%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 12.7%, 60.1%, 16.5%)
CIE-LABlab(76.02, -2.27, 53.62)
CIE-LCHlch(76.02, 53.67, 92.42°)
OKLaboklab(79.26% -0.0096 0.1238)
OKLCHoklch(79.26% 0.124 94.4)
XYZxyz(46.6412, 49.9221, 15.7718)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA55 #5570D5
analogous
#D57A55 #D5BA55 #B0D555
triadic
#D5BA55 #55D5BA #BA55D5
tetradic
#D5BA55 #55D57A #5570D5 #D555B0
square
#D5BA55 #55D57A #5570D5 #D555B0
split-complementary
#D5BA55 #55B0D5 #7A55D5
monochromatic
#8D7623 #BEA02F #D5BA55 #E1CE86 #EDE2B7

Accessibility & contrast

On white

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

On black

10.98
#D5BA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA55
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA55#FFFFFF#000000##000000
##D5BA551.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ba55;
/* rgb */ color: rgb(213, 186, 85);
/* oklch */ color: oklch(79.3% 0.124 94.4);
Tailwind
colors: {
  custom: {
    50: '#e5ce88',
    500: '#d5ba55',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba55;
$custom-light: #e5ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba55",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 47.344,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.12415,
    "h": 94.4
  },
  "luminance": 0.4992
}

Semantic roles & 50–950 ramp

primary
#D5BA55
secondary
#A9B4DC
accent
#66E444
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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