#B2AA2A#B2AA2A

#B2AA2A is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.141 H 105.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B2AA2A
RGBrgb(178, 170, 42)
HSLhsl(56, 62%, 43%)
HSVhsv(56, 76%, 70%)
CMYKcmyk(0%, 4.5%, 76.4%, 30.2%)
CIE-LABlab(68.30, -11.40, 62.10)
CIE-LCHlch(68.30, 63.14, 100.40°)
OKLaboklab(72.28% -0.0382 0.1358)
OKLCHoklch(72.28% 0.141 105.7)
XYZxyz(33.1541, 38.3829, 7.8523)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA2A #2A32B2
analogous
#B2662A #B2AA2A #76B22A
triadic
#B2AA2A #2AB2AA #AA2AB2
tetradic
#B2AA2A #2AB266 #2A32B2 #B22A76
square
#B2AA2A #2AB266 #2A32B2 #B22A76
split-complementary
#B2AA2A #2A76B2 #662AB2
monochromatic
#4F4B13 #807B1E #B2AA2A #D3CB46 #DFD977

Accessibility & contrast

On white

2.42
#B2AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B2AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA2A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA2A#FFFFFF#000000##000000
##B2AA2A1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2aa2a;
/* rgb */ color: rgb(178, 170, 42);
/* oklch */ color: oklch(72.3% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#cdc36e',
    500: '#b2aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa2a;
$custom-light: #cdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa2a",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 56.471,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72284,
    "c": 0.1411,
    "h": 105.7
  },
  "luminance": 0.38382
}

Semantic roles & 50–950 ramp

primary
#B2AA2A
secondary
#7176C7
accent
#4CE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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