#D9BA55#D9BA55

#D9BA55 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.6% C 0.125 H 92.3°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D9BA55
RGBrgb(217, 186, 85)
HSLhsl(46, 63%, 59%)
HSVhsv(46, 61%, 85%)
CMYKcmyk(0%, 14.3%, 60.8%, 14.9%)
CIE-LABlab(76.39, -0.58, 54.14)
CIE-LCHlch(76.39, 54.14, 90.61°)
OKLaboklab(79.64% -0.005 0.1248)
OKLCHoklch(79.64% 0.125 92.3)
XYZxyz(47.8160, 50.5279, 15.8268)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA55 #5574D9
analogous
#D97855 #D9BA55 #B6D955
triadic
#D9BA55 #55D9BA #BA55D9
tetradic
#D9BA55 #55D978 #5574D9 #D955B6
square
#D9BA55 #55D978 #5574D9 #D955B6
split-complementary
#D9BA55 #55B6D9 #7855D9
monochromatic
#937821 #C5A12C #D9BA55 #E4CE87 #EFE3B9

Accessibility & contrast

On white

1.89
#D9BA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#D9BA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA55
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA55#FFFFFF#000000##000000
##D9BA551.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74A
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#E9ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba55;
/* rgb */ color: rgb(217, 186, 85);
/* oklch */ color: oklch(79.6% 0.125 92.3);
Tailwind
colors: {
  custom: {
    50: '#e8ce88',
    500: '#d9ba55',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba55;
$custom-light: #e8ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba55",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 45.909,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79637,
    "c": 0.12489,
    "h": 92.3
  },
  "luminance": 0.50525
}

Semantic roles & 50–950 ramp

primary
#D9BA55
secondary
#3A5098
accent
#68E641
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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