#B59228#B59228

#B59228 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.4% C 0.125 H 89.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B59228
RGBrgb(181, 146, 40)
HSLhsl(45, 64%, 43%)
HSVhsv(45, 78%, 71%)
CMYKcmyk(0%, 19.3%, 77.9%, 29%)
CIE-LABlab(62.11, 2.67, 57.18)
CIE-LCHlch(62.11, 57.24, 87.33°)
OKLaboklab(67.44% 0.0012 0.1248)
OKLCHoklch(67.44% 0.125 89.4)
XYZxyz(29.7197, 30.5367, 6.3359)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59228 #284BB5
analogous
#B54B28 #B59228 #91B528
triadic
#B59228 #28B592 #9228B5
tetradic
#B59228 #28B54B #284BB5 #B52891
square
#B59228 #28B54B #284BB5 #B52891
split-complementary
#B59228 #2891B5 #4B28B5
monochromatic
#514112 #836A1D #B59228 #D6B244 #E1C677

Accessibility & contrast

On white

2.95
#B59228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B59228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59228
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59228#FFFFFF#000000##000000
##B592281.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39113
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#C4857E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b59228;
/* rgb */ color: rgb(181, 146, 40);
/* oklch */ color: oklch(67.4% 0.125 89.4);
Tailwind
colors: {
  custom: {
    50: '#d0b16b',
    500: '#b59228',
    950: '#000000',
  },
}
SCSS
$custom: #b59228;
$custom-light: #d0b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#b59228",
  "rgb": {
    "r": 181,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 45.106,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.12478,
    "h": 89.4
  },
  "luminance": 0.30535
}

Semantic roles & 50–950 ramp

primary
#B59228
secondary
#7086C8
accent
#6AE741
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B59228

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

Preview Lab → · Contrast checker → · Palette generator →

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