#B2AA66#B2AA66

#B2AA66 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.089 H 102.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B2AA66
RGBrgb(178, 170, 102)
HSLhsl(54, 33%, 55%)
HSVhsv(54, 43%, 70%)
CMYKcmyk(0%, 4.5%, 42.7%, 30.2%)
CIE-LABlab(68.88, -7.01, 36.01)
CIE-LCHlch(68.88, 36.69, 101.02°)
OKLaboklab(72.93% -0.0194 0.0873)
OKLCHoklch(72.93% 0.089 102.5)
XYZxyz(35.1338, 39.1747, 18.2785)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA66 #666EB2
analogous
#B28466 #B2AA66 #94B266
triadic
#B2AA66 #66B2AA #AA66B2
tetradic
#B2AA66 #66B284 #666EB2 #B26694
square
#B2AA66 #66B284 #666EB2 #B26694
split-complementary
#B2AA66 #6694B2 #8466B2
monochromatic
#696335 #928A49 #B2AA66 #C6C18F #DBD7B7

Accessibility & contrast

On white

2.38
#B2AA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B2AA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA66
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA66#FFFFFF#000000##000000
##B2AA661.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A661
Deuteranopia (green-blind)
#B8AA69
Tritanopia (blue-blind)
#BCA299
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2aa66;
/* rgb */ color: rgb(178, 170, 102);
/* oklch */ color: oklch(72.9% 0.089 102.5);
Tailwind
colors: {
  custom: {
    50: '#cac393',
    500: '#b2aa66',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa66;
$custom-light: #cac393;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa66",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 102
  },
  "hsl": {
    "h": 53.684,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.08946,
    "h": 102.5
  },
  "luminance": 0.39174
}

Semantic roles & 50–950 ramp

primary
#B2AA66
secondary
#AAADCA
accent
#6AC95F
background
#FCFBF9
surface
#F9F7F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2AA66

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

Preview Lab → · Contrast checker → · Palette generator →

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