#B2A256#B2A256

#B2A256 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.099 H 97.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B2A256
RGBrgb(178, 162, 86)
HSLhsl(50, 37%, 52%)
HSVhsv(50, 52%, 70%)
CMYKcmyk(0%, 9%, 51.7%, 30.2%)
CIE-LABlab(66.50, -4.34, 41.28)
CIE-LCHlch(66.50, 41.50, 96.00°)
OKLaboklab(70.98% -0.0132 0.0979)
OKLCHoklch(70.98% 0.099 97.7)
XYZxyz(32.9612, 35.9788, 14.0107)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A256 #5666B2
analogous
#B27456 #B2A256 #94B256
triadic
#B2A256 #56B2A2 #A256B2
tetradic
#B2A256 #56B274 #5666B2 #B25694
square
#B2A256 #56B274 #5666B2 #B25694
split-complementary
#B2A256 #5694B2 #7456B2
monochromatic
#61582C #8B7E3F #B2A256 #C5B980 #D8D0AA

Accessibility & contrast

On white

2.56
#B2A256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B2A256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A256
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A256#FFFFFF#000000##000000
##B2A2561.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4F
Deuteranopia (green-blind)
#B3A459
Tritanopia (blue-blind)
#BE9890
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a256;
/* rgb */ color: rgb(178, 162, 86);
/* oklch */ color: oklch(71.0% 0.099 97.7);
Tailwind
colors: {
  custom: {
    50: '#cbbd87',
    500: '#b2a256',
    950: '#000000',
  },
}
SCSS
$custom: #b2a256;
$custom-light: #cbbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a256",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 49.565,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.09878,
    "h": 97.7
  },
  "luminance": 0.35978
}

Semantic roles & 50–950 ramp

primary
#B2A256
secondary
#9EA5C6
accent
#6ECD5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A256

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

Preview Lab → · Contrast checker → · Palette generator →

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