#B2A466#B2A466

#B2A466 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.083 H 97.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B2A466
RGBrgb(178, 164, 102)
HSLhsl(49, 33%, 55%)
HSVhsv(49, 43%, 70%)
CMYKcmyk(0%, 7.9%, 42.7%, 30.2%)
CIE-LABlab(67.26, -3.82, 33.96)
CIE-LCHlch(67.26, 34.18, 96.42°)
OKLaboklab(71.65% -0.0101 0.0827)
OKLCHoklch(71.65% 0.083 97)
XYZxyz(34.0346, 36.9763, 17.9121)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A466 #6674B2
analogous
#B27E66 #B2A466 #9AB266
triadic
#B2A466 #66B2A4 #A466B2
tetradic
#B2A466 #66B27E #6674B2 #B2669A
square
#B2A466 #66B27E #6674B2 #B2669A
split-complementary
#B2A466 #669AB2 #7E66B2
monochromatic
#695F35 #928449 #B2A466 #C6BC8F #DBD4B7

Accessibility & contrast

On white

2.50
#B2A466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B2A466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A466
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A466#FFFFFF#000000##000000
##B2A4661.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a466;
/* rgb */ color: rgb(178, 164, 102);
/* oklch */ color: oklch(71.6% 0.083 97.0);
Tailwind
colors: {
  custom: {
    50: '#cabe92',
    500: '#b2a466',
    950: '#000000',
  },
}
SCSS
$custom: #b2a466;
$custom-light: #cabe92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a466",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 102
  },
  "hsl": {
    "h": 48.947,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.71645,
    "c": 0.08332,
    "h": 97
  },
  "luminance": 0.36975
}

Semantic roles & 50–950 ramp

primary
#B2A466
secondary
#AAB0CA
accent
#72C95F
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A466

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

Preview Lab → · Contrast checker → · Palette generator →

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