#B2A261#B2A261

#B2A261 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.087 H 95.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B2A261
RGBrgb(178, 162, 97)
HSLhsl(48, 34%, 54%)
HSVhsv(48, 46%, 70%)
CMYKcmyk(0%, 9%, 45.5%, 30.2%)
CIE-LABlab(66.65, -3.27, 35.81)
CIE-LCHlch(66.65, 35.96, 95.22°)
OKLaboklab(71.14% -0.009 0.0866)
OKLCHoklch(71.14% 0.087 95.9)
XYZxyz(33.4390, 36.1699, 16.5270)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A261 #6171B2
analogous
#B27A61 #B2A261 #9AB261
triadic
#B2A261 #61B2A2 #A261B2
tetradic
#B2A261 #61B27A #6171B2 #B2619A
square
#B2A261 #61B27A #6171B2 #B2619A
split-complementary
#B2A261 #619AB2 #7A61B2
monochromatic
#675C32 #908146 #B2A261 #C6BA8A #DAD2B3

Accessibility & contrast

On white

2.55
#B2A261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B2A261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A261
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A261#FFFFFF#000000##000000
##B2A2611.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5C
Deuteranopia (green-blind)
#B2A463
Tritanopia (blue-blind)
#BD9992
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a261;
/* rgb */ color: rgb(178, 162, 97);
/* oklch */ color: oklch(71.1% 0.087 95.9);
Tailwind
colors: {
  custom: {
    50: '#cabd8f',
    500: '#b2a261',
    950: '#000000',
  },
}
SCSS
$custom: #b2a261;
$custom-light: #cabd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a261",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 48.148,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71139,
    "c": 0.08706,
    "h": 95.9
  },
  "luminance": 0.36169
}

Semantic roles & 50–950 ramp

primary
#B2A261
secondary
#A6ADC9
accent
#73CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A261

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

Preview Lab → · Contrast checker → · Palette generator →

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