#B2A566#B2A566

#B2A566 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.084 H 98.0°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B2A566
RGBrgb(178, 165, 102)
HSLhsl(50, 33%, 55%)
HSVhsv(50, 43%, 70%)
CMYKcmyk(0%, 7.3%, 42.7%, 30.2%)
CIE-LABlab(67.53, -4.35, 34.31)
CIE-LCHlch(67.53, 34.58, 97.23°)
OKLaboklab(71.86% -0.0117 0.0835)
OKLCHoklch(71.86% 0.084 98)
XYZxyz(34.2143, 37.3357, 17.9720)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A566 #6673B2
analogous
#B27F66 #B2A566 #99B266
triadic
#B2A566 #66B2A5 #A566B2
tetradic
#B2A566 #66B27F #6673B2 #B26699
square
#B2A566 #66B27F #6673B2 #B26699
split-complementary
#B2A566 #6699B2 #7F66B2
monochromatic
#696035 #928549 #B2A566 #C6BD8F #DBD5B7

Accessibility & contrast

On white

2.48
#B2A566 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B2A566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A566
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A566#FFFFFF#000000##000000
##B2A5661.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A261
Deuteranopia (green-blind)
#B4A768
Tritanopia (blue-blind)
#BD9D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a566;
/* rgb */ color: rgb(178, 165, 102);
/* oklch */ color: oklch(71.9% 0.084 98.0);
Tailwind
colors: {
  custom: {
    50: '#cabf92',
    500: '#b2a566',
    950: '#000000',
  },
}
SCSS
$custom: #b2a566;
$custom-light: #cabf92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a566",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 102
  },
  "hsl": {
    "h": 49.737,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.71858,
    "c": 0.08428,
    "h": 98
  },
  "luminance": 0.37335
}

Semantic roles & 50–950 ramp

primary
#B2A566
secondary
#AAAFCA
accent
#71C95F
background
#FCFBF9
surface
#F9F7F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A566

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

Preview Lab → · Contrast checker → · Palette generator →

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