#B5982A#B5982A

#B5982A is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.7% C 0.127 H 93.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B5982A
RGBrgb(181, 152, 42)
HSLhsl(47, 62%, 44%)
HSVhsv(47, 77%, 71%)
CMYKcmyk(0%, 16%, 76.8%, 29%)
CIE-LABlab(63.71, -0.51, 57.95)
CIE-LCHlch(63.71, 57.95, 90.51°)
OKLaboklab(68.71% -0.0076 0.1268)
OKLCHoklch(68.71% 0.127 93.4)
XYZxyz(30.7039, 32.4492, 6.8361)
Luminance0.3245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5982A #2A47B5
analogous
#B5522A #B5982A #8CB52A
triadic
#B5982A #2AB598 #982AB5
tetradic
#B5982A #2AB552 #2A47B5 #B52A8C
square
#B5982A #2AB552 #2A47B5 #B52A8C
split-complementary
#B5982A #2A8CB5 #522AB5
monochromatic
#524513 #836E1E #B5982A #D4B748 #E0CB79

Accessibility & contrast

On white

2.80
#B5982A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B5982A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5982A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5982A#FFFFFF#000000##000000
##B5982A1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99515
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#C48B83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b5982a;
/* rgb */ color: rgb(181, 152, 42);
/* oklch */ color: oklch(68.7% 0.127 93.4);
Tailwind
colors: {
  custom: {
    50: '#cfb56c',
    500: '#b5982a',
    950: '#000000',
  },
}
SCSS
$custom: #b5982a;
$custom-light: #cfb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5982a",
  "rgb": {
    "r": 181,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 47.482,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.12706,
    "h": 93.4
  },
  "luminance": 0.32447
}

Semantic roles & 50–950 ramp

primary
#B5982A
secondary
#7385C8
accent
#64E542
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B5982A

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

Preview Lab → · Contrast checker → · Palette generator →

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