#B2A156#B2A156

#B2A156 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.098 H 96.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B2A156
RGBrgb(178, 161, 86)
HSLhsl(49, 37%, 52%)
HSVhsv(49, 52%, 70%)
CMYKcmyk(0%, 9.6%, 51.7%, 30.2%)
CIE-LABlab(66.23, -3.80, 40.95)
CIE-LCHlch(66.23, 41.13, 95.30°)
OKLaboklab(70.76% -0.0117 0.0972)
OKLCHoklch(70.76% 0.098 96.9)
XYZxyz(32.7858, 35.6279, 13.9522)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A156 #5667B2
analogous
#B27356 #B2A156 #95B256
triadic
#B2A156 #56B2A1 #A156B2
tetradic
#B2A156 #56B273 #5667B2 #B25695
square
#B2A156 #56B273 #5667B2 #B25695
split-complementary
#B2A156 #5695B2 #7356B2
monochromatic
#61572C #8B7D3F #B2A156 #C5B880 #D8D0AA

Accessibility & contrast

On white

2.58
#B2A156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B2A156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A156
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A156#FFFFFF#000000##000000
##B2A1561.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4F
Deuteranopia (green-blind)
#B3A459
Tritanopia (blue-blind)
#BE9790
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a156;
/* rgb */ color: rgb(178, 161, 86);
/* oklch */ color: oklch(70.8% 0.098 96.9);
Tailwind
colors: {
  custom: {
    50: '#cbbc87',
    500: '#b2a156',
    950: '#000000',
  },
}
SCSS
$custom: #b2a156;
$custom-light: #cbbc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a156",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 86
  },
  "hsl": {
    "h": 48.913,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70764,
    "c": 0.09788,
    "h": 96.9
  },
  "luminance": 0.35627
}

Semantic roles & 50–950 ramp

primary
#B2A156
secondary
#9EA5C6
accent
#70CD5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A156

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

Preview Lab → · Contrast checker → · Palette generator →

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