#B2AA57#B2AA57

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

Color values

HEX#B2AA57
RGBrgb(178, 170, 87)
HSLhsl(55, 37%, 52%)
HSVhsv(55, 51%, 70%)
CMYKcmyk(0%, 4.5%, 51.1%, 30.2%)
CIE-LABlab(68.68, -8.49, 43.38)
CIE-LCHlch(68.68, 44.20, 101.07°)
OKLaboklab(72.71% -0.0251 0.1026)
OKLCHoklch(72.71% 0.106 103.7)
XYZxyz(34.4561, 38.9036, 14.7091)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA57 #575FB2
analogous
#B27D57 #B2AA57 #8DB257
triadic
#B2AA57 #57B2AA #AA57B2
tetradic
#B2AA57 #57B27D #575FB2 #B2578D
square
#B2AA57 #57B27D #575FB2 #B2578D
split-complementary
#B2AA57 #578DB2 #7D57B2
monochromatic
#625D2D #8C8540 #B2AA57 #C5BF81 #D8D4AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA57#FFFFFF#000000##000000
##B2AA571.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)
#B7A54F
Deuteranopia (green-blind)
#B9AA5B
Tritanopia (blue-blind)
#BDA097
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2aa57;
/* rgb */ color: rgb(178, 170, 87);
/* oklch */ color: oklch(72.7% 0.106 103.7);
Tailwind
colors: {
  custom: {
    50: '#cbc388',
    500: '#b2aa57',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa57;
$custom-light: #cbc388;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa57",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 87
  },
  "hsl": {
    "h": 54.725,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72707,
    "c": 0.1056,
    "h": 103.7
  },
  "luminance": 0.38903
}

Semantic roles & 50–950 ramp

primary
#B2AA57
secondary
#9EA2C6
accent
#65CD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA57

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

Preview Lab → · Contrast checker → · Palette generator →

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