#B2B32D#B2B32D

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

Color values

HEX#B2B32D
RGBrgb(178, 179, 45)
HSLhsl(60, 60%, 44%)
HSVhsv(60, 75%, 70%)
CMYKcmyk(0.6%, 0%, 74.9%, 29.8%)
CIE-LABlab(70.80, -15.90, 63.42)
CIE-LCHlch(70.80, 65.38, 104.08°)
OKLaboklab(74.28% -0.0505 0.1392)
OKLCHoklch(74.28% 0.148 110)
XYZxyz(34.9551, 41.8957, 8.7275)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B32D #2E2DB3
analogous
#B3712D #B2B32D #6FB32D
triadic
#B2B32D #2DB2B3 #B32DB2
tetradic
#B2B32D #2DB371 #2E2DB3 #B32D6F
square
#B2B32D #2DB371 #2E2DB3 #B32D6F
split-complementary
#B2B32D #2D6FB3 #712DB3
monochromatic
#515114 #818221 #B2B32D #D1D24B #DDDE7C

Accessibility & contrast

On white

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

On black

9.38
#B2B32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B32D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B32D#FFFFFF#000000##000000
##B2B32D1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB0D
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#BFA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b32d;
/* rgb */ color: rgb(178, 179, 45);
/* oklch */ color: oklch(74.3% 0.148 110.0);
Tailwind
colors: {
  custom: {
    50: '#cdc971',
    500: '#b2b32d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b32d;
$custom-light: #cdc971;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b32d",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 45
  },
  "hsl": {
    "h": 60.448,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74281,
    "c": 0.14808,
    "h": 110
  },
  "luminance": 0.41895
}

Semantic roles & 50–950 ramp

primary
#B2B32D
secondary
#7675C7
accent
#45E346
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B32D

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

Preview Lab → · Contrast checker → · Palette generator →

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