#B2AA58#B2AA58

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

Color values

HEX#B2AA58
RGBrgb(178, 170, 88)
HSLhsl(55, 37%, 52%)
HSVhsv(55, 51%, 70%)
CMYKcmyk(0%, 4.5%, 50.6%, 30.2%)
CIE-LABlab(68.69, -8.40, 42.90)
CIE-LCHlch(68.69, 43.71, 101.08°)
OKLaboklab(72.72% -0.0247 0.1016)
OKLCHoklch(72.72% 0.105 103.7)
XYZxyz(34.4972, 38.9201, 14.9258)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA58 #5860B2
analogous
#B27D58 #B2AA58 #8DB258
triadic
#B2AA58 #58B2AA #AA58B2
tetradic
#B2AA58 #58B27D #5860B2 #B2588D
square
#B2AA58 #58B27D #5860B2 #B2588D
split-complementary
#B2AA58 #588DB2 #7D58B2
monochromatic
#625E2D #8C8541 #B2AA58 #C5BF82 #D9D5AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA58#FFFFFF#000000##000000
##B2AA581.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)
#B7A551
Deuteranopia (green-blind)
#B9AA5C
Tritanopia (blue-blind)
#BDA097
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2aa58;
/* rgb */ color: rgb(178, 170, 88);
/* oklch */ color: oklch(72.7% 0.105 103.7);
Tailwind
colors: {
  custom: {
    50: '#cbc389',
    500: '#b2aa58',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa58;
$custom-light: #cbc389;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa58",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 88
  },
  "hsl": {
    "h": 54.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72721,
    "c": 0.10459,
    "h": 103.7
  },
  "luminance": 0.38919
}

Semantic roles & 50–950 ramp

primary
#B2AA58
secondary
#9FA3C7
accent
#65CD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2AA58

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

Preview Lab → · Contrast checker → · Palette generator →

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