#B2B32C#B2B32C

#B2B32C 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#B2B32C
RGBrgb(178, 179, 44)
HSLhsl(60, 61%, 44%)
HSVhsv(60, 75%, 70%)
CMYKcmyk(0.6%, 0%, 75.4%, 29.8%)
CIE-LABlab(70.79, -15.95, 63.74)
CIE-LCHlch(70.79, 65.71, 104.05°)
OKLaboklab(74.28% -0.0508 0.1397)
OKLCHoklch(74.28% 0.149 110)
XYZxyz(34.9361, 41.8881, 8.6273)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B32C #2D2CB3
analogous
#B3702C #B2B32C #6EB32C
triadic
#B2B32C #2CB2B3 #B32CB2
tetradic
#B2B32C #2CB370 #2D2CB3 #B32C6E
square
#B2B32C #2CB370 #2D2CB3 #B32C6E
split-complementary
#B2B32C #2C6EB3 #702CB3
monochromatic
#505114 #818220 #B2B32C #D1D24A #DEDF7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B32C#FFFFFF#000000##000000
##B2B32C1.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)
#C2AB0A
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#BFA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b32c;
/* rgb */ color: rgb(178, 179, 44);
/* oklch */ color: oklch(74.3% 0.149 110.0);
Tailwind
colors: {
  custom: {
    50: '#cdc970',
    500: '#b2b32c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b32c;
$custom-light: #cdc970;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b32c",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 44
  },
  "hsl": {
    "h": 60.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74275,
    "c": 0.14862,
    "h": 110
  },
  "luminance": 0.41887
}

Semantic roles & 50–950 ramp

primary
#B2B32C
secondary
#7574C7
accent
#44E445
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B32C

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

Preview Lab → · Contrast checker → · Palette generator →

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