#B2982C#B2982C

#B2982C is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.125 H 94.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B2982C
RGBrgb(178, 152, 44)
HSLhsl(48, 60%, 44%)
HSVhsv(48, 75%, 70%)
CMYKcmyk(0%, 14.6%, 75.3%, 30.2%)
CIE-LABlab(63.43, -1.77, 56.84)
CIE-LCHlch(63.43, 56.87, 91.78°)
OKLaboklab(68.42% -0.0108 0.125)
OKLCHoklch(68.42% 0.125 94.9)
XYZxyz(30.0446, 32.1050, 6.9968)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2982C #2C46B2
analogous
#B2552C #B2982C #89B22C
triadic
#B2982C #2CB298 #982CB2
tetradic
#B2982C #2CB255 #2C46B2 #B22C89
square
#B2982C #2CB255 #2C46B2 #B22C89
split-complementary
#B2982C #2C89B2 #552CB2
monochromatic
#504414 #816E20 #B2982C #D2B749 #DECB7A

Accessibility & contrast

On white

2.83
#B2982C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B2982C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2982C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2982C#FFFFFF#000000##000000
##B2982C1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89519
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#C18C83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b2982c;
/* rgb */ color: rgb(178, 152, 44);
/* oklch */ color: oklch(68.4% 0.125 94.9);
Tailwind
colors: {
  custom: {
    50: '#cdb56d',
    500: '#b2982c',
    950: '#000000',
  },
}
SCSS
$custom: #b2982c;
$custom-light: #cdb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2982c",
  "rgb": {
    "r": 178,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 48.358,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68419,
    "c": 0.12549,
    "h": 94.9
  },
  "luminance": 0.32103
}

Semantic roles & 50–950 ramp

primary
#B2982C
secondary
#7384C6
accent
#63E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B2982C

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

Preview Lab → · Contrast checker → · Palette generator →

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