#B2AA36#B2AA36

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

Color values

HEX#B2AA36
RGBrgb(178, 170, 54)
HSLhsl(56, 53%, 45%)
HSVhsv(56, 70%, 70%)
CMYKcmyk(0%, 4.5%, 69.7%, 30.2%)
CIE-LABlab(68.37, -10.84, 57.85)
CIE-LCHlch(68.37, 58.85, 100.61°)
OKLaboklab(72.36% -0.0355 0.129)
OKLCHoklch(72.36% 0.134 105.4)
XYZxyz(33.4020, 38.4820, 9.1576)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA36 #363EB2
analogous
#B26C36 #B2AA36 #7CB236
triadic
#B2AA36 #36B2AA #AA36B2
tetradic
#B2AA36 #36B26C #363EB2 #B2367C
square
#B2AA36 #36B26C #363EB2 #B2367C
split-complementary
#B2AA36 #367CB2 #6C36B2
monochromatic
#54501A #837D28 #B2AA36 #CDC559 #DBD588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA36#FFFFFF#000000##000000
##B2AA361.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)
#B9A424
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa36;
/* rgb */ color: rgb(178, 170, 54);
/* oklch */ color: oklch(72.4% 0.134 105.4);
Tailwind
colors: {
  custom: {
    50: '#ccc374',
    500: '#b2aa36',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa36;
$custom-light: #ccc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa36",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 56.129,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.13381,
    "h": 105.4
  },
  "luminance": 0.38481
}

Semantic roles & 50–950 ramp

primary
#B2AA36
secondary
#7F84C5
accent
#54DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AA36

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

Preview Lab → · Contrast checker → · Palette generator →

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