#B59E31#B59E31

#B59E31 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.0% C 0.127 H 96.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B59E31
RGBrgb(181, 158, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 73%, 71%)
CMYKcmyk(0%, 12.7%, 72.9%, 29%)
CIE-LABlab(65.36, -3.43, 56.90)
CIE-LCHlch(65.36, 57.00, 93.45°)
OKLaboklab(70.02% -0.0152 0.126)
OKLCHoklch(70.02% 0.127 96.9)
XYZxyz(31.8389, 34.5009, 7.8874)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59E31 #3148B5
analogous
#B55C31 #B59E31 #8AB531
triadic
#B59E31 #31B59E #9E31B5
tetradic
#B59E31 #31B55C #3148B5 #B5318A
square
#B59E31 #31B55C #3148B5 #B5318A
split-complementary
#B59E31 #318AB5 #5C31B5
monochromatic
#554A17 #857424 #B59E31 #D0BB53 #DDCE83

Accessibility & contrast

On white

2.66
#B59E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B59E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59E31
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59E31#FFFFFF#000000##000000
##B59E311.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#C39288
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b59e31;
/* rgb */ color: rgb(181, 158, 49);
/* oklch */ color: oklch(70.0% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#cfba70',
    500: '#b59e31',
    950: '#000000',
  },
}
SCSS
$custom: #b59e31;
$custom-light: #cfba70;
$custom-dark: #000000;
JSON
{
  "hex": "#b59e31",
  "rgb": {
    "r": 181,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 49.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.12691,
    "h": 96.9
  },
  "luminance": 0.34499
}

Semantic roles & 50–950 ramp

primary
#B59E31
secondary
#7B88C7
accent
#62E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B59E31

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

Preview Lab → · Contrast checker → · Palette generator →

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