#B2AA3A#B2AA3A

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

Color values

HEX#B2AA3A
RGBrgb(178, 170, 58)
HSLhsl(56, 51%, 46%)
HSVhsv(56, 67%, 70%)
CMYKcmyk(0%, 4.5%, 67.4%, 30.2%)
CIE-LABlab(68.40, -10.62, 56.28)
CIE-LCHlch(68.40, 57.27, 100.68°)
OKLaboklab(72.4% -0.0344 0.1264)
OKLCHoklch(72.4% 0.131 105.2)
XYZxyz(33.4998, 38.5211, 9.6729)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA3A #3A42B2
analogous
#B26E3A #B2AA3A #7EB23A
triadic
#B2AA3A #3AB2AA #AA3AB2
tetradic
#B2AA3A #3AB26E #3A42B2 #B23A7E
square
#B2AA3A #3AB26E #3A42B2 #B23A7E
split-complementary
#B2AA3A #3A7EB2 #6E3AB2
monochromatic
#56521C #847E2B #B2AA3A #CBC35F #DAD58D

Accessibility & contrast

On white

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

On black

8.70
#B2AA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA3A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA3A#FFFFFF#000000##000000
##B2AA3A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2aa3a;
/* rgb */ color: rgb(178, 170, 58);
/* oklch */ color: oklch(72.4% 0.131 105.2);
Tailwind
colors: {
  custom: {
    50: '#ccc376',
    500: '#b2aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa3a;
$custom-light: #ccc376;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa3a",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 56,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72396,
    "c": 0.131,
    "h": 105.2
  },
  "luminance": 0.3852
}

Semantic roles & 50–950 ramp

primary
#B2AA3A
secondary
#8388C4
accent
#57DA4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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