#B59C2F#B59C2F

#B59C2F is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.6% C 0.127 H 95.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#B59C2F
RGBrgb(181, 156, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 71%)
CMYKcmyk(0%, 13.8%, 74%, 29%)
CIE-LABlab(64.81, -2.45, 57.13)
CIE-LCHlch(64.81, 57.19, 92.46°)
OKLaboklab(69.58% -0.0126 0.1261)
OKLCHoklch(69.58% 0.127 95.7)
XYZxyz(31.4592, 33.8076, 7.5573)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59C2F #2F48B5
analogous
#B5592F #B59C2F #8BB52F
triadic
#B59C2F #2FB59C #9C2FB5
tetradic
#B59C2F #2FB559 #2F48B5 #B52F8B
square
#B59C2F #2FB559 #2F48B5 #B52F8B
split-complementary
#B59C2F #2F8BB5 #592FB5
monochromatic
#544816 #847222 #B59C2F #D1B950 #DECD80

Accessibility & contrast

On white

2.71
#B59C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#B59C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59C2F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59C2F#FFFFFF#000000##000000
##B59C2F1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991D
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#C49087
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b59c2f;
/* rgb */ color: rgb(181, 156, 47);
/* oklch */ color: oklch(69.6% 0.127 95.7);
Tailwind
colors: {
  custom: {
    50: '#cfb86f',
    500: '#b59c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b59c2f;
$custom-light: #cfb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b59c2f",
  "rgb": {
    "r": 181,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 48.806,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.12674,
    "h": 95.7
  },
  "luminance": 0.33806
}

Semantic roles & 50–950 ramp

primary
#B59C2F
secondary
#7987C7
accent
#63E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B59C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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