#B2A632#B2A632

#B2A632 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.133 H 103.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B2A632
RGBrgb(178, 166, 50)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 70%)
CMYKcmyk(0%, 6.7%, 71.9%, 30.2%)
CIE-LABlab(67.25, -8.95, 58.28)
CIE-LCHlch(67.25, 58.96, 98.73°)
OKLaboklab(71.46% -0.0306 0.1292)
OKLCHoklch(71.46% 0.133 103.3)
XYZxyz(32.5734, 36.9690, 8.4369)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A632 #323EB2
analogous
#B26632 #B2A632 #7EB232
triadic
#B2A632 #32B2A6 #A632B2
tetradic
#B2A632 #32B266 #323EB2 #B2327E
square
#B2A632 #32B266 #323EB2 #B2327E
split-complementary
#B2A632 #327EB2 #6632B2
monochromatic
#524D17 #827925 #B2A632 #CFC353 #DCD482

Accessibility & contrast

On white

2.50
#B2A632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B2A632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A632
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A632#FFFFFF#000000##000000
##B2A6321.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11F
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a632;
/* rgb */ color: rgb(178, 166, 50);
/* oklch */ color: oklch(71.5% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#cdc072',
    500: '#b2a632',
    950: '#000000',
  },
}
SCSS
$custom: #b2a632;
$custom-light: #cdc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a632",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 50
  },
  "hsl": {
    "h": 54.375,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71464,
    "c": 0.13277,
    "h": 103.3
  },
  "luminance": 0.36968
}

Semantic roles & 50–950 ramp

primary
#B2A632
secondary
#7B82C5
accent
#57DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A632

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

Preview Lab → · Contrast checker → · Palette generator →

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