#B2982F#B2982F

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

Color values

HEX#B2982F
RGBrgb(178, 152, 47)
HSLhsl(48, 58%, 44%)
HSVhsv(48, 74%, 70%)
CMYKcmyk(0%, 14.6%, 73.6%, 30.2%)
CIE-LABlab(63.45, -1.63, 55.71)
CIE-LCHlch(63.45, 55.74, 91.68°)
OKLaboklab(68.44% -0.0101 0.1232)
OKLCHoklch(68.44% 0.124 94.7)
XYZxyz(30.1030, 32.1284, 7.3046)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2982F #2F49B2
analogous
#B2572F #B2982F #8BB22F
triadic
#B2982F #2FB298 #982FB2
tetradic
#B2982F #2FB257 #2F49B2 #B22F8B
square
#B2982F #2FB257 #2F49B2 #B22F8B
split-complementary
#B2982F #2F8BB2 #572FB2
monochromatic
#514515 #826F22 #B2982F #D0B64E #DDCA7E

Accessibility & contrast

On white

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

On black

7.43
#B2982F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2982F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2982F#FFFFFF#000000##000000
##B2982F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951E
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#C08C83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b2982f;
/* rgb */ color: rgb(178, 152, 47);
/* oklch */ color: oklch(68.4% 0.124 94.7);
Tailwind
colors: {
  custom: {
    50: '#cdb66f',
    500: '#b2982f',
    950: '#000000',
  },
}
SCSS
$custom: #b2982f;
$custom-light: #cdb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2982f",
  "rgb": {
    "r": 178,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 48.092,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.12363,
    "h": 94.7
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#B2982F
secondary
#7787C6
accent
#65E146
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B2982F

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

Preview Lab → · Contrast checker → · Palette generator →

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