#B2A561#B2A561

#B2A561 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.090 H 98.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B2A561
RGBrgb(178, 165, 97)
HSLhsl(50, 34%, 54%)
HSVhsv(50, 46%, 70%)
CMYKcmyk(0%, 7.3%, 45.5%, 30.2%)
CIE-LABlab(67.46, -4.88, 36.82)
CIE-LCHlch(67.46, 37.14, 97.55°)
OKLaboklab(71.78% -0.0137 0.0889)
OKLCHoklch(71.78% 0.09 98.7)
XYZxyz(33.9738, 37.2395, 16.7053)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A561 #616EB2
analogous
#B27D61 #B2A561 #97B261
triadic
#B2A561 #61B2A5 #A561B2
tetradic
#B2A561 #61B27D #616EB2 #B26197
square
#B2A561 #61B27D #616EB2 #B26197
split-complementary
#B2A561 #6197B2 #7D61B2
monochromatic
#675E32 #908446 #B2A561 #C6BC8A #DAD4B3

Accessibility & contrast

On white

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

On black

8.45
#B2A561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A561
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A561#FFFFFF#000000##000000
##B2A5611.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A15C
Deuteranopia (green-blind)
#B5A664
Tritanopia (blue-blind)
#BD9C95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a561;
/* rgb */ color: rgb(178, 165, 97);
/* oklch */ color: oklch(71.8% 0.090 98.7);
Tailwind
colors: {
  custom: {
    50: '#cabf8f',
    500: '#b2a561',
    950: '#000000',
  },
}
SCSS
$custom: #b2a561;
$custom-light: #cabf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a561",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 97
  },
  "hsl": {
    "h": 50.37,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71778,
    "c": 0.0899,
    "h": 98.7
  },
  "luminance": 0.37238
}

Semantic roles & 50–950 ramp

primary
#B2A561
secondary
#A6ACC9
accent
#6FCB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A561

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

Preview Lab → · Contrast checker → · Palette generator →

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