#B59F31#B59F31

#B59F31 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.2% C 0.128 H 97.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B59F31
RGBrgb(181, 159, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 73%, 71%)
CMYKcmyk(0%, 12.2%, 72.9%, 29%)
CIE-LABlab(65.63, -3.97, 57.16)
CIE-LCHlch(65.63, 57.30, 93.97°)
OKLaboklab(70.24% -0.0167 0.1266)
OKLCHoklch(70.24% 0.128 97.5)
XYZxyz(32.0102, 34.8434, 7.9445)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59F31 #3147B5
analogous
#B55D31 #B59F31 #89B531
triadic
#B59F31 #31B59F #9F31B5
tetradic
#B59F31 #31B55D #3147B5 #B53189
square
#B59F31 #31B55D #3147B5 #B53189
split-complementary
#B59F31 #3189B5 #5D31B5
monochromatic
#554A17 #857524 #B59F31 #D0BB53 #DDCE83

Accessibility & contrast

On white

2.64
#B59F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B59F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59F31
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59F31#FFFFFF#000000##000000
##B59F311.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#C39389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b59f31;
/* rgb */ color: rgb(181, 159, 49);
/* oklch */ color: oklch(70.2% 0.128 97.5);
Tailwind
colors: {
  custom: {
    50: '#cfbb71',
    500: '#b59f31',
    950: '#000000',
  },
}
SCSS
$custom: #b59f31;
$custom-light: #cfbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b59f31",
  "rgb": {
    "r": 181,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 50,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70236,
    "c": 0.12765,
    "h": 97.5
  },
  "luminance": 0.34842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B59F31

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

Preview Lab → · Contrast checker → · Palette generator →

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