#D9BA37#D9BA37

#D9BA37 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.146 H 95.2°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D9BA37
RGBrgb(217, 186, 55)
HSLhsl(49, 68%, 53%)
HSVhsv(49, 75%, 85%)
CMYKcmyk(0%, 14.3%, 74.7%, 14.9%)
CIE-LABlab(76.16, -2.23, 66.25)
CIE-LCHlch(76.16, 66.28, 91.93°)
OKLaboklab(79.38% -0.0131 0.1455)
OKLCHoklch(79.38% 0.146 95.2)
XYZxyz(46.8663, 50.1480, 10.8247)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA37 #3756D9
analogous
#D96937 #D9BA37 #A7D937
triadic
#D9BA37 #37D9BA #BA37D9
tetradic
#D9BA37 #37D969 #3756D9 #D937A7
square
#D9BA37 #37D969 #3756D9 #D937A7
split-complementary
#D9BA37 #37A7D9 #6937D9
monochromatic
#7E6A18 #B19622 #D9BA37 #E3CC6A #EDDD9E

Accessibility & contrast

On white

1.90
#D9BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#D9BA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA37
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA37#FFFFFF#000000##000000
##D9BA371.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB61F
Deuteranopia (green-blind)
#D5C03F
Tritanopia (blue-blind)
#EAABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba37;
/* rgb */ color: rgb(217, 186, 55);
/* oklch */ color: oklch(79.4% 0.146 95.2);
Tailwind
colors: {
  custom: {
    50: '#e9ce77',
    500: '#d9ba37',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba37;
$custom-light: #e9ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba37",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 48.519,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79379,
    "c": 0.14612,
    "h": 95.2
  },
  "luminance": 0.50145
}

Semantic roles & 50–950 ramp

primary
#D9BA37
secondary
#2F4085
accent
#5EEB3D
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D9BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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