#B2B32B#B2B32B

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

Color values

HEX#B2B32B
RGBrgb(178, 179, 43)
HSLhsl(60, 61%, 44%)
HSVhsv(60, 76%, 70%)
CMYKcmyk(0.6%, 0%, 76%, 29.8%)
CIE-LABlab(70.79, -15.99, 64.06)
CIE-LCHlch(70.79, 66.02, 104.01°)
OKLaboklab(74.27% -0.0509 0.1402)
OKLCHoklch(74.27% 0.149 110)
XYZxyz(34.9175, 41.8806, 8.5295)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B32B #2C2BB3
analogous
#B3702B #B2B32B #6EB32B
triadic
#B2B32B #2BB2B3 #B32BB2
tetradic
#B2B32B #2BB370 #2C2BB3 #B32B6E
square
#B2B32B #2BB370 #2C2BB3 #B32B6E
split-complementary
#B2B32B #2B6EB3 #702BB3
monochromatic
#505013 #81821F #B2B32B #D2D348 #DEDF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B32B#FFFFFF#000000##000000
##B2B32B1.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)
#C2AB07
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#BFA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b32b;
/* rgb */ color: rgb(178, 179, 43);
/* oklch */ color: oklch(74.3% 0.149 110.0);
Tailwind
colors: {
  custom: {
    50: '#cdc970',
    500: '#b2b32b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b32b;
$custom-light: #cdc970;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b32b",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 60.441,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74269,
    "c": 0.14915,
    "h": 110
  },
  "luminance": 0.4188
}

Semantic roles & 50–950 ramp

primary
#B2B32B
secondary
#7373C7
accent
#43E445
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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