#B2AA3B#B2AA3B

#B2AA3B is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.130 H 105.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B2AA3B
RGBrgb(178, 170, 59)
HSLhsl(56, 50%, 46%)
HSVhsv(56, 67%, 70%)
CMYKcmyk(0%, 4.5%, 66.9%, 30.2%)
CIE-LABlab(68.41, -10.56, 55.88)
CIE-LCHlch(68.41, 56.87, 100.70°)
OKLaboklab(72.41% -0.0341 0.1257)
OKLCHoklch(72.41% 0.13 105.2)
XYZxyz(33.5255, 38.5314, 9.8082)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA3B #3B43B2
analogous
#B26F3B #B2AA3B #7FB23B
triadic
#B2AA3B #3BB2AA #AA3BB2
tetradic
#B2AA3B #3BB26F #3B43B2 #B23B7F
square
#B2AA3B #3BB26F #3B43B2 #B23B7F
split-complementary
#B2AA3B #3B7FB2 #6F3BB2
monochromatic
#56521D #847E2C #B2AA3B #CAC360 #DAD48E

Accessibility & contrast

On white

2.41
#B2AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B2AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA3B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA3B#FFFFFF#000000##000000
##B2AA3B1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42C
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa3b;
/* rgb */ color: rgb(178, 170, 59);
/* oklch */ color: oklch(72.4% 0.130 105.2);
Tailwind
colors: {
  custom: {
    50: '#ccc377',
    500: '#b2aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa3b;
$custom-light: #ccc377;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa3b",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 55.966,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72405,
    "c": 0.13028,
    "h": 105.2
  },
  "luminance": 0.3853
}

Semantic roles & 50–950 ramp

primary
#B2AA3B
secondary
#8589C4
accent
#57DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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