#B4982B#B4982B

#B4982B is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.6% C 0.126 H 93.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B4982B
RGBrgb(180, 152, 43)
HSLhsl(48, 61%, 44%)
HSVhsv(48, 76%, 71%)
CMYKcmyk(0%, 15.6%, 76.1%, 29.4%)
CIE-LABlab(63.62, -0.92, 57.46)
CIE-LCHlch(63.62, 57.47, 90.92°)
OKLaboklab(68.61% -0.0086 0.126)
OKLCHoklch(68.61% 0.126 93.9)
XYZxyz(30.4883, 32.3360, 6.9206)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4982B #2B47B4
analogous
#B4532B #B4982B #8BB42B
triadic
#B4982B #2BB498 #982BB4
tetradic
#B4982B #2BB453 #2B47B4 #B42B8B
square
#B4982B #2BB453 #2B47B4 #B42B8B
split-complementary
#B4982B #2B8BB4 #532BB4
monochromatic
#514513 #836E1F #B4982B #D3B749 #DFCB7A

Accessibility & contrast

On white

2.81
#B4982B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B4982B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4982B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4982B#FFFFFF#000000##000000
##B4982B1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99517
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#C38B83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b4982b;
/* rgb */ color: rgb(180, 152, 43);
/* oklch */ color: oklch(68.6% 0.126 93.9);
Tailwind
colors: {
  custom: {
    50: '#cfb56d',
    500: '#b4982b',
    950: '#000000',
  },
}
SCSS
$custom: #b4982b;
$custom-light: #cfb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4982b",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 47.737,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68613,
    "c": 0.12633,
    "h": 93.9
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

primary
#B4982B
secondary
#7385C7
accent
#64E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B4982B

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

Preview Lab → · Contrast checker → · Palette generator →

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