#B7982B#B7982B

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

Color values

HEX#B7982B
RGBrgb(183, 152, 43)
HSLhsl(47, 62%, 44%)
HSVhsv(47, 77%, 72%)
CMYKcmyk(0%, 16.9%, 76.5%, 28.2%)
CIE-LABlab(63.92, 0.42, 57.85)
CIE-LCHlch(63.92, 57.85, 89.58°)
OKLaboklab(68.92% -0.005 0.1267)
OKLCHoklch(68.92% 0.127 92.2)
XYZxyz(31.1945, 32.7001, 6.9537)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7982B #2B4AB7
analogous
#B7522B #B7982B #90B72B
triadic
#B7982B #2BB798 #982BB7
tetradic
#B7982B #2BB752 #2B4AB7 #B72B90
square
#B7982B #2BB752 #2B4AB7 #B72B90
split-complementary
#B7982B #2B90B7 #522BB7
monochromatic
#544614 #856F1F #B7982B #D5B64B #E0CA7C

Accessibility & contrast

On white

2.79
#B7982B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#B7982B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7982B
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7982B#FFFFFF#000000##000000
##B7982B1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7982b;
/* rgb */ color: rgb(183, 152, 43);
/* oklch */ color: oklch(68.9% 0.127 92.2);
Tailwind
colors: {
  custom: {
    50: '#d1b56d',
    500: '#b7982b',
    950: '#000000',
  },
}
SCSS
$custom: #b7982b;
$custom-light: #d1b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7982b",
  "rgb": {
    "r": 183,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 46.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68918,
    "c": 0.12683,
    "h": 92.2
  },
  "luminance": 0.32698
}

Semantic roles & 50–950 ramp

primary
#B7982B
secondary
#7588C9
accent
#67E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B7982B

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

Preview Lab → · Contrast checker → · Palette generator →

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