#B2A372#B2A372

#B2A372 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.068 H 93.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B2A372
RGBrgb(178, 163, 114)
HSLhsl(46, 29%, 57%)
HSVhsv(46, 36%, 70%)
CMYKcmyk(0%, 8.4%, 36%, 30.2%)
CIE-LABlab(67.18, -1.90, 27.47)
CIE-LCHlch(67.18, 27.54, 93.95°)
OKLaboklab(71.65% -0.0037 0.0682)
OKLCHoklch(71.65% 0.068 93.1)
XYZxyz(34.4951, 36.8753, 21.2169)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A372 #7281B2
analogous
#B28372 #B2A372 #A1B272
triadic
#B2A372 #72B2A3 #A372B2
tetradic
#B2A372 #72B283 #7281B2 #B272A1
square
#B2A372 #72B283 #7281B2 #B272A1
split-complementary
#B2A372 #72A1B2 #8372B2
monochromatic
#6E623C #958552 #B2A372 #C8BD9A #DDD7C1

Accessibility & contrast

On white

2.51
#B2A372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B2A372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A372
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A372#FFFFFF#000000##000000
##B2A3721.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA16F
Deuteranopia (green-blind)
#B1A674
Tritanopia (blue-blind)
#BC9C96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a372;
/* rgb */ color: rgb(178, 163, 114);
/* oklch */ color: oklch(71.6% 0.068 93.1);
Tailwind
colors: {
  custom: {
    50: '#cabe9b',
    500: '#b2a372',
    950: '#000000',
  },
}
SCSS
$custom: #b2a372;
$custom-light: #cabe9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a372",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 45.937,
    "s": 29.358,
    "l": 57.255
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.06832,
    "h": 93.1
  },
  "luminance": 0.36874
}

Semantic roles & 50–950 ramp

primary
#B2A372
secondary
#B3B9CD
accent
#79C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A372

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

Preview Lab → · Contrast checker → · Palette generator →

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