#B5982B#B5982B

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

Color values

HEX#B5982B
RGBrgb(181, 152, 43)
HSLhsl(47, 62%, 44%)
HSVhsv(47, 76%, 71%)
CMYKcmyk(0%, 16%, 76.2%, 29%)
CIE-LABlab(63.72, -0.47, 57.59)
CIE-LCHlch(63.72, 57.59, 90.47°)
OKLaboklab(68.71% -0.0074 0.1263)
OKLCHoklch(68.71% 0.126 93.4)
XYZxyz(30.7220, 32.4565, 6.9316)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5982B #2B48B5
analogous
#B5532B #B5982B #8DB52B
triadic
#B5982B #2BB598 #982BB5
tetradic
#B5982B #2BB553 #2B48B5 #B52B8D
square
#B5982B #2BB553 #2B48B5 #B52B8D
split-complementary
#B5982B #2B8DB5 #532BB5
monochromatic
#524514 #846E1F #B5982B #D4B749 #E0CA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5982B#FFFFFF#000000##000000
##B5982B1.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)
#A99517
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#C48B83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b5982b;
/* rgb */ color: rgb(181, 152, 43);
/* oklch */ color: oklch(68.7% 0.126 93.4);
Tailwind
colors: {
  custom: {
    50: '#cfb56d',
    500: '#b5982b',
    950: '#000000',
  },
}
SCSS
$custom: #b5982b;
$custom-light: #cfb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5982b",
  "rgb": {
    "r": 181,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 47.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.12649,
    "h": 93.4
  },
  "luminance": 0.32455
}

Semantic roles & 50–950 ramp

primary
#B5982B
secondary
#7486C8
accent
#65E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B5982B

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

Preview Lab → · Contrast checker → · Palette generator →

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