#B2A55A#B2A55A

#B2A55A is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.097 H 99.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B2A55A
RGBrgb(178, 165, 90)
HSLhsl(51, 36%, 53%)
HSVhsv(51, 49%, 70%)
CMYKcmyk(0%, 7.3%, 49.4%, 30.2%)
CIE-LABlab(67.36, -5.57, 40.29)
CIE-LCHlch(67.36, 40.68, 97.87°)
OKLaboklab(71.67% -0.0164 0.0961)
OKLCHoklch(71.67% 0.097 99.7)
XYZxyz(33.6617, 37.1146, 15.0616)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A55A #5A67B2
analogous
#B2795A #B2A55A #93B25A
triadic
#B2A55A #5AB2A5 #A55AB2
tetradic
#B2A55A #5AB279 #5A67B2 #B25A93
square
#B2A55A #5AB279 #5A67B2 #B25A93
split-complementary
#B2A55A #5A93B2 #795AB2
monochromatic
#635B2E #8D8242 #B2A55A #C5BC84 #D9D3AD

Accessibility & contrast

On white

2.49
#B2A55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B2A55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A55A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A55A#FFFFFF#000000##000000
##B2A55A1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A154
Deuteranopia (green-blind)
#B5A65D
Tritanopia (blue-blind)
#BD9C93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a55a;
/* rgb */ color: rgb(178, 165, 90);
/* oklch */ color: oklch(71.7% 0.097 99.7);
Tailwind
colors: {
  custom: {
    50: '#cbbf8a',
    500: '#b2a55a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a55a;
$custom-light: #cbbf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a55a",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 90
  },
  "hsl": {
    "h": 51.136,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.09745,
    "h": 99.7
  },
  "luminance": 0.37113
}

Semantic roles & 50–950 ramp

primary
#B2A55A
secondary
#A1A6C7
accent
#6CCC5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A55A

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

Preview Lab → · Contrast checker → · Palette generator →

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