#B2AA50#B2AA50

#B2AA50 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.113 H 104.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B2AA50
RGBrgb(178, 170, 80)
HSLhsl(55, 39%, 51%)
HSVhsv(55, 55%, 70%)
CMYKcmyk(0%, 4.5%, 55.1%, 30.2%)
CIE-LABlab(68.60, -9.09, 46.69)
CIE-LCHlch(68.60, 47.57, 101.02°)
OKLaboklab(72.62% -0.0276 0.1091)
OKLCHoklch(72.62% 0.113 104.2)
XYZxyz(34.1838, 38.7947, 13.2753)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA50 #5058B2
analogous
#B27950 #B2AA50 #89B250
triadic
#B2AA50 #50B2AA #AA50B2
tetradic
#B2AA50 #50B279 #5058B2 #B25089
square
#B2AA50 #50B279 #5058B2 #B25089
split-complementary
#B2AA50 #5089B2 #7950B2
monochromatic
#5E5A29 #89823C #B2AA50 #C5BF7A #D7D3A5

Accessibility & contrast

On white

2.40
#B2AA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B2AA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA50
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA50#FFFFFF#000000##000000
##B2AA501.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A547
Deuteranopia (green-blind)
#BAA954
Tritanopia (blue-blind)
#BEA096
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa50;
/* rgb */ color: rgb(178, 170, 80);
/* oklch */ color: oklch(72.6% 0.113 104.2);
Tailwind
colors: {
  custom: {
    50: '#cbc384',
    500: '#b2aa50',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa50;
$custom-light: #cbc384;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa50",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 80
  },
  "hsl": {
    "h": 55.102,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.1125,
    "h": 104.2
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#B2AA50
secondary
#999DC5
accent
#63CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA50

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

Preview Lab → · Contrast checker → · Palette generator →

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