#B2AA56#B2AA56

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

Color values

HEX#B2AA56
RGBrgb(178, 170, 86)
HSLhsl(55, 37%, 52%)
HSVhsv(55, 52%, 70%)
CMYKcmyk(0%, 4.5%, 51.7%, 30.2%)
CIE-LABlab(68.67, -8.58, 43.86)
CIE-LCHlch(68.67, 44.69, 101.07°)
OKLaboklab(72.69% -0.0255 0.1035)
OKLCHoklch(72.69% 0.107 103.8)
XYZxyz(34.4155, 38.8874, 14.4954)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA56 #565EB2
analogous
#B27C56 #B2AA56 #8CB256
triadic
#B2AA56 #56B2AA #AA56B2
tetradic
#B2AA56 #56B27C #565EB2 #B2568C
square
#B2AA56 #56B27C #565EB2 #B2568C
split-complementary
#B2AA56 #568CB2 #7C56B2
monochromatic
#615D2C #8B853F #B2AA56 #C5BF80 #D8D4AA

Accessibility & contrast

On white

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

On black

8.78
#B2AA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA56
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA56#FFFFFF#000000##000000
##B2AA561.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2aa56;
/* rgb */ color: rgb(178, 170, 86);
/* oklch */ color: oklch(72.7% 0.107 103.8);
Tailwind
colors: {
  custom: {
    50: '#cbc388',
    500: '#b2aa56',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa56;
$custom-light: #cbc388;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa56",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 86
  },
  "hsl": {
    "h": 54.783,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72694,
    "c": 0.10661,
    "h": 103.8
  },
  "luminance": 0.38886
}

Semantic roles & 50–950 ramp

primary
#B2AA56
secondary
#9EA1C6
accent
#64CD5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA56

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

Preview Lab → · Contrast checker → · Palette generator →

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