#B59D31#B59D31

#B59D31 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.126 H 96.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B59D31
RGBrgb(181, 157, 49)
HSLhsl(49, 57%, 45%)
HSVhsv(49, 73%, 71%)
CMYKcmyk(0%, 13.3%, 72.9%, 29%)
CIE-LABlab(65.09, -2.89, 56.64)
CIE-LCHlch(65.09, 56.71, 92.93°)
OKLaboklab(69.81% -0.0137 0.1254)
OKLCHoklch(69.81% 0.126 96.2)
XYZxyz(31.6690, 34.1611, 7.8308)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59D31 #3149B5
analogous
#B55B31 #B59D31 #8BB531
triadic
#B59D31 #31B59D #9D31B5
tetradic
#B59D31 #31B55B #3149B5 #B5318B
square
#B59D31 #31B55B #3149B5 #B5318B
split-complementary
#B59D31 #318BB5 #5B31B5
monochromatic
#554917 #857324 #B59D31 #D0BA53 #DDCD83

Accessibility & contrast

On white

2.68
#B59D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B59D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59D31
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59D31#FFFFFF#000000##000000
##B59D311.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A20
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#C39188
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b59d31;
/* rgb */ color: rgb(181, 157, 49);
/* oklch */ color: oklch(69.8% 0.126 96.2);
Tailwind
colors: {
  custom: {
    50: '#cfb970',
    500: '#b59d31',
    950: '#000000',
  },
}
SCSS
$custom: #b59d31;
$custom-light: #cfb970;
$custom-dark: #000000;
JSON
{
  "hex": "#b59d31",
  "rgb": {
    "r": 181,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 49.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69811,
    "c": 0.12618,
    "h": 96.2
  },
  "luminance": 0.34159
}

Semantic roles & 50–950 ramp

primary
#B59D31
secondary
#7B89C7
accent
#63E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B59D31

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

Preview Lab → · Contrast checker → · Palette generator →

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