#B59F2F#B59F2F

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

Color values

HEX#B59F2F
RGBrgb(181, 159, 47)
HSLhsl(50, 59%, 45%)
HSVhsv(50, 74%, 71%)
CMYKcmyk(0%, 12.2%, 74%, 29%)
CIE-LABlab(65.61, -4.06, 57.91)
CIE-LCHlch(65.61, 58.05, 94.01°)
OKLaboklab(70.22% -0.0172 0.1278)
OKLCHoklch(70.22% 0.129 97.7)
XYZxyz(31.9689, 34.8269, 7.7271)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59F2F #2F45B5
analogous
#B55C2F #B59F2F #88B52F
triadic
#B59F2F #2FB59F #9F2FB5
tetradic
#B59F2F #2FB55C #2F45B5 #B52F88
square
#B59F2F #2FB55C #2F45B5 #B52F88
split-complementary
#B59F2F #2F88B5 #5C2FB5
monochromatic
#544A16 #847422 #B59F2F #D1BC50 #DECF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B59F2F#FFFFFF#000000##000000
##B59F2F1.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)
#AF9B1C
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#C39389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b59f2f;
/* rgb */ color: rgb(181, 159, 47);
/* oklch */ color: oklch(70.2% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#cfbb6f',
    500: '#b59f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b59f2f;
$custom-light: #cfbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b59f2f",
  "rgb": {
    "r": 181,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 50.149,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.1289,
    "h": 97.7
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

primary
#B59F2F
secondary
#7986C7
accent
#5FE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B59F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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