#B4982F#B4982F

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

Color values

HEX#B4982F
RGBrgb(180, 152, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 74%, 71%)
CMYKcmyk(0%, 15.6%, 73.9%, 29.4%)
CIE-LABlab(63.64, -0.74, 55.97)
CIE-LCHlch(63.64, 55.98, 90.76°)
OKLaboklab(68.64% -0.0077 0.1237)
OKLCHoklch(68.64% 0.124 93.6)
XYZxyz(30.5654, 32.3668, 7.3263)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4982F #2F4BB4
analogous
#B4552F #B4982F #8EB42F
triadic
#B4982F #2FB498 #982FB4
tetradic
#B4982F #2FB455 #2F4BB4 #B42F8E
square
#B4982F #2FB455 #2F4BB4 #B42F8E
split-complementary
#B4982F #2F8EB4 #552FB4
monochromatic
#534616 #836F22 #B4982F #D1B64F #DECA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4982F#FFFFFF#000000##000000
##B4982F1.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)
#A9951E
Deuteranopia (green-blind)
#AF9E35
Tritanopia (blue-blind)
#C38C83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b4982f;
/* rgb */ color: rgb(180, 152, 47);
/* oklch */ color: oklch(68.6% 0.124 93.6);
Tailwind
colors: {
  custom: {
    50: '#ceb66f',
    500: '#b4982f',
    950: '#000000',
  },
}
SCSS
$custom: #b4982f;
$custom-light: #ceb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4982f",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 47.368,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68641,
    "c": 0.12393,
    "h": 93.6
  },
  "luminance": 0.32365
}

Semantic roles & 50–950 ramp

primary
#B4982F
secondary
#7889C7
accent
#67E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B4982F

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

Preview Lab → · Contrast checker → · Palette generator →

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