#B7982E#B7982E

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

Color values

HEX#B7982E
RGBrgb(183, 152, 46)
HSLhsl(46, 60%, 45%)
HSVhsv(46, 75%, 72%)
CMYKcmyk(0%, 16.9%, 74.9%, 28.2%)
CIE-LABlab(63.94, 0.55, 56.74)
CIE-LCHlch(63.94, 56.74, 89.44°)
OKLaboklab(68.94% -0.0043 0.125)
OKLCHoklch(68.94% 0.125 92)
XYZxyz(31.2516, 32.7229, 7.2543)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7982E #2E4DB7
analogous
#B7532E #B7982E #92B72E
triadic
#B7982E #2EB798 #982EB7
tetradic
#B7982E #2EB753 #2E4DB7 #B72E92
square
#B7982E #2EB753 #2E4DB7 #B72E92
split-complementary
#B7982E #2E92B7 #532EB7
monochromatic
#554715 #866F22 #B7982E #D3B54F #DFCA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7982E#FFFFFF#000000##000000
##B7982E1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7982e;
/* rgb */ color: rgb(183, 152, 46);
/* oklch */ color: oklch(68.9% 0.125 92.0);
Tailwind
colors: {
  custom: {
    50: '#d1b56e',
    500: '#b7982e',
    950: '#000000',
  },
}
SCSS
$custom: #b7982e;
$custom-light: #d1b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7982e",
  "rgb": {
    "r": 183,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 46.423,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68938,
    "c": 0.12506,
    "h": 92
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

primary
#B7982E
secondary
#798BC8
accent
#69E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B7982E

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

Preview Lab → · Contrast checker → · Palette generator →

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