#B2A16E#B2A16E

#B2A16E is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.071 H 91.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B2A16E
RGBrgb(178, 161, 110)
HSLhsl(45, 31%, 56%)
HSVhsv(45, 38%, 70%)
CMYKcmyk(0%, 9.6%, 38.2%, 30.2%)
CIE-LABlab(66.58, -1.30, 28.83)
CIE-LCHlch(66.58, 28.86, 92.58°)
OKLaboklab(71.15% -0.0022 0.0713)
OKLCHoklch(71.15% 0.071 91.8)
XYZxyz(33.9201, 36.0817, 19.9265)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A16E #6E7FB2
analogous
#B27F6E #B2A16E #A1B26E
triadic
#B2A16E #6EB2A1 #A16EB2
tetradic
#B2A16E #6EB27F #6E7FB2 #B26EA1
square
#B2A16E #6EB27F #6E7FB2 #B26EA1
split-complementary
#B2A16E #6EA1B2 #7F6EB2
monochromatic
#6C5F39 #94834F #B2A16E #C7BB96 #DCD5BE

Accessibility & contrast

On white

2.56
#B2A16E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B2A16E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A16E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A16E#FFFFFF#000000##000000
##B2A16E1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9F6A
Deuteranopia (green-blind)
#B0A470
Tritanopia (blue-blind)
#BC9994
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a16e;
/* rgb */ color: rgb(178, 161, 110);
/* oklch */ color: oklch(71.2% 0.071 91.8);
Tailwind
colors: {
  custom: {
    50: '#cabc98',
    500: '#b2a16e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a16e;
$custom-light: #cabc98;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a16e",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 110
  },
  "hsl": {
    "h": 45,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.71151,
    "c": 0.0713,
    "h": 91.8
  },
  "luminance": 0.36081
}

Semantic roles & 50–950 ramp

primary
#B2A16E
secondary
#B0B7CC
accent
#7AC761
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A16E

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

Preview Lab → · Contrast checker → · Palette generator →

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