#B7982F#B7982F

#B7982F is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.9% C 0.124 H 91.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B7982F
RGBrgb(183, 152, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 72%)
CMYKcmyk(0%, 16.9%, 74.3%, 28.2%)
CIE-LABlab(63.94, 0.60, 56.36)
CIE-LCHlch(63.94, 56.37, 89.39°)
OKLaboklab(68.95% -0.004 0.1244)
OKLCHoklch(68.95% 0.124 91.9)
XYZxyz(31.2715, 32.7309, 7.3594)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7982F #2F4EB7
analogous
#B7542F #B7982F #92B72F
triadic
#B7982F #2FB798 #982FB7
tetradic
#B7982F #2FB754 #2F4EB7 #B72F92
square
#B7982F #2FB754 #2F4EB7 #B72F92
split-complementary
#B7982F #2F92B7 #542FB7
monochromatic
#564716 #867022 #B7982F #D2B551 #DFCA82

Accessibility & contrast

On white

2.78
#B7982F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B7982F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7982F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7982F#FFFFFF#000000##000000
##B7982F1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7982f;
/* rgb */ color: rgb(183, 152, 47);
/* oklch */ color: oklch(68.9% 0.124 91.9);
Tailwind
colors: {
  custom: {
    50: '#d1b66f',
    500: '#b7982f',
    950: '#000000',
  },
}
SCSS
$custom: #b7982f;
$custom-light: #d1b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7982f",
  "rgb": {
    "r": 183,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 46.324,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68945,
    "c": 0.12446,
    "h": 91.9
  },
  "luminance": 0.32729
}

Semantic roles & 50–950 ramp

primary
#B7982F
secondary
#7A8CC8
accent
#69E245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B7982F

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

Preview Lab → · Contrast checker → · Palette generator →

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