#B2A32B#B2A32B

#B2A32B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.134 H 101.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B2A32B
RGBrgb(178, 163, 43)
HSLhsl(53, 61%, 43%)
HSVhsv(53, 76%, 70%)
CMYKcmyk(0%, 8.4%, 75.8%, 30.2%)
CIE-LABlab(66.39, -7.69, 59.99)
CIE-LCHlch(66.39, 60.49, 97.31°)
OKLaboklab(70.77% -0.0277 0.1315)
OKLCHoklch(70.77% 0.134 101.9)
XYZxyz(31.8948, 35.8352, 7.5219)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A32B #2B3AB2
analogous
#B25F2B #B2A32B #7DB22B
triadic
#B2A32B #2BB2A3 #A32BB2
tetradic
#B2A32B #2BB25F #2B3AB2 #B22B7D
square
#B2A32B #2BB25F #2B3AB2 #B22B7D
split-complementary
#B2A32B #2B7DB2 #5F2BB2
monochromatic
#4F4913 #81761F #B2A32B #D3C348 #DFD379

Accessibility & contrast

On white

2.57
#B2A32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B2A32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A32B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A32B#FFFFFF#000000##000000
##B2A32B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E12
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#C0978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a32b;
/* rgb */ color: rgb(178, 163, 43);
/* oklch */ color: oklch(70.8% 0.134 101.9);
Tailwind
colors: {
  custom: {
    50: '#cdbd6e',
    500: '#b2a32b',
    950: '#000000',
  },
}
SCSS
$custom: #b2a32b;
$custom-light: #cdbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a32b",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 53.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70767,
    "c": 0.13442,
    "h": 101.9
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#B2A32B
secondary
#727CC7
accent
#55E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A32B

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

Preview Lab → · Contrast checker → · Palette generator →

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