#B2AA55#B2AA55

#B2AA55 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.108 H 103.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B2AA55
RGBrgb(178, 170, 85)
HSLhsl(55, 38%, 52%)
HSVhsv(55, 52%, 70%)
CMYKcmyk(0%, 4.5%, 52.2%, 30.2%)
CIE-LABlab(68.66, -8.67, 44.34)
CIE-LCHlch(68.66, 45.18, 101.06°)
OKLaboklab(72.68% -0.0258 0.1045)
OKLCHoklch(72.68% 0.108 103.9)
XYZxyz(34.3755, 38.8714, 14.2847)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA55 #555DB2
analogous
#B27C55 #B2AA55 #8CB255
triadic
#B2AA55 #55B2AA #AA55B2
tetradic
#B2AA55 #55B27C #555DB2 #B2558C
square
#B2AA55 #55B27C #555DB2 #B2558C
split-complementary
#B2AA55 #558CB2 #7C55B2
monochromatic
#615C2C #8B843F #B2AA55 #C5BF7F #D8D4A9

Accessibility & contrast

On white

2.39
#B2AA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B2AA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA55
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA55#FFFFFF#000000##000000
##B2AA551.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54D
Deuteranopia (green-blind)
#BAA959
Tritanopia (blue-blind)
#BDA097
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa55;
/* rgb */ color: rgb(178, 170, 85);
/* oklch */ color: oklch(72.7% 0.108 103.9);
Tailwind
colors: {
  custom: {
    50: '#cbc387',
    500: '#b2aa55',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa55;
$custom-light: #cbc387;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa55",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 85
  },
  "hsl": {
    "h": 54.839,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.10762,
    "h": 103.9
  },
  "luminance": 0.3887
}

Semantic roles & 50–950 ramp

primary
#B2AA55
secondary
#9DA0C6
accent
#64CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA55

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

Preview Lab → · Contrast checker → · Palette generator →

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