#B8982F#B8982F

#B8982F is a light, vivid yellow. Relative luminance 0.329; OKLCH L 69.0% C 0.125 H 91.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B8982F
RGBrgb(184, 152, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 72%)
CMYKcmyk(0%, 17.4%, 74.5%, 27.8%)
CIE-LABlab(64.04, 1.04, 56.49)
CIE-LCHlch(64.04, 56.50, 88.94°)
OKLaboklab(69.05% -0.0028 0.1246)
OKLCHoklch(69.05% 0.125 91.3)
XYZxyz(31.5103, 32.8540, 7.3705)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8982F #2F4FB8
analogous
#B8532F #B8982F #94B82F
triadic
#B8982F #2FB898 #982FB8
tetradic
#B8982F #2FB853 #2F4FB8 #B82F94
square
#B8982F #2FB853 #2F4FB8 #B82F94
split-complementary
#B8982F #2F94B8 #532FB8
monochromatic
#574716 #877023 #B8982F #D3B552 #DFC982

Accessibility & contrast

On white

2.77
#B8982F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B8982F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8982F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8982F#FFFFFF#000000##000000
##B8982F1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961E
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#C78B83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b8982f;
/* rgb */ color: rgb(184, 152, 47);
/* oklch */ color: oklch(69.0% 0.125 91.3);
Tailwind
colors: {
  custom: {
    50: '#d1b66f',
    500: '#b8982f',
    950: '#000000',
  },
}
SCSS
$custom: #b8982f;
$custom-light: #d1b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8982f",
  "rgb": {
    "r": 184,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 45.985,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69048,
    "c": 0.12465,
    "h": 91.3
  },
  "luminance": 0.32852
}

Semantic roles & 50–950 ramp

primary
#B8982F
secondary
#7B8DC8
accent
#6AE245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B8982F

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

Preview Lab → · Contrast checker → · Palette generator →

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