#B2B32A#B2B32A

#B2B32A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.150 H 110.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B2B32A
RGBrgb(178, 179, 42)
HSLhsl(60, 62%, 43%)
HSVhsv(60, 77%, 70%)
CMYKcmyk(0.6%, 0%, 76.5%, 29.8%)
CIE-LABlab(70.78, -16.03, 64.37)
CIE-LCHlch(70.78, 66.34, 103.98°)
OKLaboklab(74.26% -0.0511 0.1407)
OKLCHoklch(74.26% 0.15 110)
XYZxyz(34.8994, 41.8734, 8.4340)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B32A #2B2AB3
analogous
#B36F2A #B2B32A #6DB32A
triadic
#B2B32A #2AB2B3 #B32AB2
tetradic
#B2B32A #2AB36F #2B2AB3 #B32A6D
square
#B2B32A #2AB36F #2B2AB3 #B32A6D
split-complementary
#B2B32A #2A6DB3 #6F2AB3
monochromatic
#4F5013 #81811E #B2B32A #D3D446 #DFDF78

Accessibility & contrast

On white

2.24
#B2B32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B2B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B32A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B32A#FFFFFF#000000##000000
##B2B32A1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB03
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#BFA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b32a;
/* rgb */ color: rgb(178, 179, 42);
/* oklch */ color: oklch(74.3% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#cdc96f',
    500: '#b2b32a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b32a;
$custom-light: #cdc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b32a",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 60.438,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.14967,
    "h": 110
  },
  "luminance": 0.41872
}

Semantic roles & 50–950 ramp

primary
#B2B32A
secondary
#7272C7
accent
#43E544
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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