#B2A832#B2A832

#B2A832 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.135 H 104.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B2A832
RGBrgb(178, 168, 50)
HSLhsl(55, 56%, 45%)
HSVhsv(55, 72%, 70%)
CMYKcmyk(0%, 5.6%, 71.9%, 30.2%)
CIE-LABlab(67.80, -10.00, 58.81)
CIE-LCHlch(67.80, 59.65, 99.65°)
OKLaboklab(71.9% -0.0335 0.1303)
OKLCHoklch(71.9% 0.135 104.4)
XYZxyz(32.9398, 37.7018, 8.5591)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A832 #323CB2
analogous
#B26832 #B2A832 #7CB232
triadic
#B2A832 #32B2A8 #A832B2
tetradic
#B2A832 #32B268 #323CB2 #B2327C
square
#B2A832 #32B268 #323CB2 #B2327C
split-complementary
#B2A832 #327CB2 #6832B2
monochromatic
#524E17 #827B25 #B2A832 #CFC553 #DCD582

Accessibility & contrast

On white

2.46
#B2A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B2A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A832
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A832#FFFFFF#000000##000000
##B2A8321.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#BAA83A
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a832;
/* rgb */ color: rgb(178, 168, 50);
/* oklch */ color: oklch(71.9% 0.135 104.4);
Tailwind
colors: {
  custom: {
    50: '#cdc172',
    500: '#b2a832',
    950: '#000000',
  },
}
SCSS
$custom: #b2a832;
$custom-light: #cdc172;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a832",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 55.313,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71899,
    "c": 0.13458,
    "h": 104.4
  },
  "luminance": 0.37701
}

Semantic roles & 50–950 ramp

primary
#B2A832
secondary
#7B80C5
accent
#54DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A832

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

Preview Lab → · Contrast checker → · Palette generator →

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