#B5942A#B5942A

#B5942A is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.9% C 0.125 H 90.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B5942A
RGBrgb(181, 148, 42)
HSLhsl(46, 62%, 44%)
HSVhsv(46, 77%, 71%)
CMYKcmyk(0%, 18.2%, 76.8%, 29%)
CIE-LABlab(62.65, 1.66, 56.95)
CIE-LCHlch(62.65, 56.98, 88.33°)
OKLaboklab(67.87% -0.0014 0.1247)
OKLCHoklch(67.87% 0.125 90.7)
XYZxyz(30.0656, 31.1726, 6.6234)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5942A #2A4BB5
analogous
#B54E2A #B5942A #90B52A
triadic
#B5942A #2AB594 #942AB5
tetradic
#B5942A #2AB54E #2A4BB5 #B52A90
square
#B5942A #2AB54E #2A4BB5 #B52A90
split-complementary
#B5942A #2A90B5 #4E2AB5
monochromatic
#524313 #836B1E #B5942A #D4B348 #E0C879

Accessibility & contrast

On white

2.90
#B5942A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B5942A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5942A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5942A#FFFFFF#000000##000000
##B5942A1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59217
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#C4877F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b5942a;
/* rgb */ color: rgb(181, 148, 42);
/* oklch */ color: oklch(67.9% 0.125 90.7);
Tailwind
colors: {
  custom: {
    50: '#cfb36c',
    500: '#b5942a',
    950: '#000000',
  },
}
SCSS
$custom: #b5942a;
$custom-light: #cfb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5942a",
  "rgb": {
    "r": 181,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 45.755,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67872,
    "c": 0.12472,
    "h": 90.7
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#B5942A
secondary
#7387C8
accent
#69E542
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B5942A

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

Preview Lab → · Contrast checker → · Palette generator →

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