#B2A232#B2A232

#B2A232 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.129 H 101.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B2A232
RGBrgb(178, 162, 50)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 70%)
CMYKcmyk(0%, 9%, 71.9%, 30.2%)
CIE-LABlab(66.16, -6.84, 57.21)
CIE-LCHlch(66.16, 57.62, 96.82°)
OKLaboklab(70.6% -0.0246 0.127)
OKLCHoklch(70.6% 0.129 101)
XYZxyz(31.8576, 35.5374, 8.1983)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A232 #3242B2
analogous
#B26232 #B2A232 #82B232
triadic
#B2A232 #32B2A2 #A232B2
tetradic
#B2A232 #32B262 #3242B2 #B23282
square
#B2A232 #32B262 #3242B2 #B23282
split-complementary
#B2A232 #3282B2 #6232B2
monochromatic
#524B17 #827725 #B2A232 #CFBF53 #DCD182

Accessibility & contrast

On white

2.59
#B2A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B2A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A232
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A232#FFFFFF#000000##000000
##B2A2321.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#C0968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a232;
/* rgb */ color: rgb(178, 162, 50);
/* oklch */ color: oklch(70.6% 0.129 101.0);
Tailwind
colors: {
  custom: {
    50: '#cdbd71',
    500: '#b2a232',
    950: '#000000',
  },
}
SCSS
$custom: #b2a232;
$custom-light: #cdbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a232",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 52.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70599,
    "c": 0.12932,
    "h": 101
  },
  "luminance": 0.35536
}

Semantic roles & 50–950 ramp

primary
#B2A232
secondary
#7B84C5
accent
#5BDF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A232

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

Preview Lab → · Contrast checker → · Palette generator →

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