#B2AA37#B2AA37

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

Color values

HEX#B2AA37
RGBrgb(178, 170, 55)
HSLhsl(56, 53%, 46%)
HSVhsv(56, 69%, 70%)
CMYKcmyk(0%, 4.5%, 69.1%, 30.2%)
CIE-LABlab(68.38, -10.79, 57.46)
CIE-LCHlch(68.38, 58.46, 100.63°)
OKLaboklab(72.37% -0.0352 0.1284)
OKLCHoklch(72.37% 0.133 105.3)
XYZxyz(33.4257, 38.4915, 9.2826)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA37 #373FB2
analogous
#B26D37 #B2AA37 #7CB237
triadic
#B2AA37 #37B2AA #AA37B2
tetradic
#B2AA37 #37B26D #373FB2 #B2377C
square
#B2AA37 #37B26D #373FB2 #B2377C
split-complementary
#B2AA37 #377CB2 #6D37B2
monochromatic
#54511A #837D29 #B2AA37 #CCC55A #DBD589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA37#FFFFFF#000000##000000
##B2AA371.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)
#B9A426
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa37;
/* rgb */ color: rgb(178, 170, 55);
/* oklch */ color: oklch(72.4% 0.133 105.3);
Tailwind
colors: {
  custom: {
    50: '#ccc375',
    500: '#b2aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa37;
$custom-light: #ccc375;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa37",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 56.098,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72372,
    "c": 0.13312,
    "h": 105.3
  },
  "luminance": 0.3849
}

Semantic roles & 50–950 ramp

primary
#B2AA37
secondary
#8085C5
accent
#55DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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