#B2AA39#B2AA39

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

Color values

HEX#B2AA39
RGBrgb(178, 170, 57)
HSLhsl(56, 51%, 46%)
HSVhsv(56, 68%, 70%)
CMYKcmyk(0%, 4.5%, 68%, 30.2%)
CIE-LABlab(68.40, -10.68, 56.68)
CIE-LCHlch(68.40, 57.68, 100.67°)
OKLaboklab(72.39% -0.0347 0.1271)
OKLCHoklch(72.39% 0.132 105.3)
XYZxyz(33.4746, 38.5111, 9.5402)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA39 #3941B2
analogous
#B26D39 #B2AA39 #7DB239
triadic
#B2AA39 #39B2AA #AA39B2
tetradic
#B2AA39 #39B26D #3941B2 #B2397D
square
#B2AA39 #39B26D #3941B2 #B2397D
split-complementary
#B2AA39 #397DB2 #6D39B2
monochromatic
#55511B #847E2A #B2AA39 #CBC45D #DAD58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA39#FFFFFF#000000##000000
##B2AA391.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)
#B9A429
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa39;
/* rgb */ color: rgb(178, 170, 57);
/* oklch */ color: oklch(72.4% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#ccc376',
    500: '#b2aa39',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa39;
$custom-light: #ccc376;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa39",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 56.033,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72388,
    "c": 0.13172,
    "h": 105.3
  },
  "luminance": 0.3851
}

Semantic roles & 50–950 ramp

primary
#B2AA39
secondary
#8287C4
accent
#56DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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