#B2A456#B2A456

#B2A456 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.101 H 99.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B2A456
RGBrgb(178, 164, 86)
HSLhsl(51, 37%, 52%)
HSVhsv(51, 52%, 70%)
CMYKcmyk(0%, 7.9%, 51.7%, 30.2%)
CIE-LABlab(67.04, -5.40, 41.92)
CIE-LCHlch(67.04, 42.27, 97.34°)
OKLaboklab(71.4% -0.0163 0.0993)
OKLCHoklch(71.4% 0.101 99.3)
XYZxyz(33.3163, 36.6890, 14.1290)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A456 #5664B2
analogous
#B27656 #B2A456 #92B256
triadic
#B2A456 #56B2A4 #A456B2
tetradic
#B2A456 #56B276 #5664B2 #B25692
square
#B2A456 #56B276 #5664B2 #B25692
split-complementary
#B2A456 #5692B2 #7656B2
monochromatic
#61592C #8B803F #B2A456 #C5BB80 #D8D1AA

Accessibility & contrast

On white

2.52
#B2A456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B2A456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A456
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A456#FFFFFF#000000##000000
##B2A4561.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04F
Deuteranopia (green-blind)
#B5A559
Tritanopia (blue-blind)
#BE9A92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a456;
/* rgb */ color: rgb(178, 164, 86);
/* oklch */ color: oklch(71.4% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#cbbe87',
    500: '#b2a456',
    950: '#000000',
  },
}
SCSS
$custom: #b2a456;
$custom-light: #cbbe87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a456",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 86
  },
  "hsl": {
    "h": 50.87,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71404,
    "c": 0.10063,
    "h": 99.3
  },
  "luminance": 0.36688
}

Semantic roles & 50–950 ramp

primary
#B2A456
secondary
#9EA4C6
accent
#6CCD5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A456

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

Preview Lab → · Contrast checker → · Palette generator →

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