#B2A352#B2A352

#B2A352 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.104 H 99.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B2A352
RGBrgb(178, 163, 82)
HSLhsl(51, 38%, 51%)
HSVhsv(51, 54%, 70%)
CMYKcmyk(0%, 8.4%, 53.9%, 30.2%)
CIE-LABlab(66.73, -5.22, 43.53)
CIE-LCHlch(66.73, 43.85, 96.84°)
OKLaboklab(71.14% -0.0162 0.1024)
OKLCHoklch(71.14% 0.104 99)
XYZxyz(32.9814, 36.2698, 13.2445)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A352 #5261B2
analogous
#B27352 #B2A352 #91B252
triadic
#B2A352 #52B2A3 #A352B2
tetradic
#B2A352 #52B273 #5261B2 #B25291
square
#B2A352 #52B273 #5261B2 #B25291
split-complementary
#B2A352 #5291B2 #7352B2
monochromatic
#5F572A #8A7E3D #B2A352 #C5BA7C #D8D0A7

Accessibility & contrast

On white

2.54
#B2A352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B2A352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A352
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A352#FFFFFF#000000##000000
##B2A3521.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4A
Deuteranopia (green-blind)
#B5A556
Tritanopia (blue-blind)
#BE9990
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a352;
/* rgb */ color: rgb(178, 163, 82);
/* oklch */ color: oklch(71.1% 0.104 99.0);
Tailwind
colors: {
  custom: {
    50: '#cbbe85',
    500: '#b2a352',
    950: '#000000',
  },
}
SCSS
$custom: #b2a352;
$custom-light: #cbbe85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a352",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 82
  },
  "hsl": {
    "h": 50.625,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71137,
    "c": 0.10371,
    "h": 99
  },
  "luminance": 0.36269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A352

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

Preview Lab → · Contrast checker → · Palette generator →

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