#B2A452#B2A452

#B2A452 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.105 H 99.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B2A452
RGBrgb(178, 164, 82)
HSLhsl(51, 38%, 51%)
HSVhsv(51, 54%, 70%)
CMYKcmyk(0%, 7.9%, 53.9%, 30.2%)
CIE-LABlab(67.00, -5.75, 43.85)
CIE-LCHlch(67.00, 44.23, 97.47°)
OKLaboklab(71.35% -0.0178 0.1031)
OKLCHoklch(71.35% 0.105 99.8)
XYZxyz(33.1596, 36.6264, 13.3039)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A452 #5260B2
analogous
#B27452 #B2A452 #90B252
triadic
#B2A452 #52B2A4 #A452B2
tetradic
#B2A452 #52B274 #5260B2 #B25290
square
#B2A452 #52B274 #5260B2 #B25290
split-complementary
#B2A452 #5290B2 #7452B2
monochromatic
#5F582A #8A7E3D #B2A452 #C5BA7C #D8D1A7

Accessibility & contrast

On white

2.52
#B2A452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B2A452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A452
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A452#FFFFFF#000000##000000
##B2A4521.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B5A556
Tritanopia (blue-blind)
#BE9A91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a452;
/* rgb */ color: rgb(178, 164, 82);
/* oklch */ color: oklch(71.4% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#cbbe85',
    500: '#b2a452',
    950: '#000000',
  },
}
SCSS
$custom: #b2a452;
$custom-light: #cbbe85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a452",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 82
  },
  "hsl": {
    "h": 51.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71351,
    "c": 0.10465,
    "h": 99.8
  },
  "luminance": 0.36625
}

Semantic roles & 50–950 ramp

primary
#B2A452
secondary
#9BA1C5
accent
#6BCE59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A452

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

Preview Lab → · Contrast checker → · Palette generator →

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