#B2A461#B2A461

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

Color values

HEX#B2A461
RGBrgb(178, 164, 97)
HSLhsl(50, 34%, 54%)
HSVhsv(50, 46%, 70%)
CMYKcmyk(0%, 7.9%, 45.5%, 30.2%)
CIE-LABlab(67.19, -4.35, 36.49)
CIE-LCHlch(67.19, 36.74, 96.79°)
OKLaboklab(71.56% -0.0121 0.0881)
OKLCHoklch(71.56% 0.089 97.8)
XYZxyz(33.7941, 36.8801, 16.6454)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A461 #616FB2
analogous
#B27C61 #B2A461 #98B261
triadic
#B2A461 #61B2A4 #A461B2
tetradic
#B2A461 #61B27C #616FB2 #B26198
square
#B2A461 #61B27C #616FB2 #B26198
split-complementary
#B2A461 #6198B2 #7C61B2
monochromatic
#675E32 #908346 #B2A461 #C6BC8A #DAD3B3

Accessibility & contrast

On white

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

On black

8.38
#B2A461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A461
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A461#FFFFFF#000000##000000
##B2A4611.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15C
Deuteranopia (green-blind)
#B4A664
Tritanopia (blue-blind)
#BD9B94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a461;
/* rgb */ color: rgb(178, 164, 97);
/* oklch */ color: oklch(71.6% 0.089 97.8);
Tailwind
colors: {
  custom: {
    50: '#cabe8f',
    500: '#b2a461',
    950: '#000000',
  },
}
SCSS
$custom: #b2a461;
$custom-light: #cabe8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a461",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 97
  },
  "hsl": {
    "h": 49.63,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.08893,
    "h": 97.8
  },
  "luminance": 0.36879
}

Semantic roles & 50–950 ramp

primary
#B2A461
secondary
#A6ACC9
accent
#70CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A461

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

Preview Lab → · Contrast checker → · Palette generator →

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