#B2B32E#B2B32E

#B2B32E 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#B2B32E
RGBrgb(178, 179, 46)
HSLhsl(60, 59%, 44%)
HSVhsv(60, 74%, 70%)
CMYKcmyk(0.6%, 0%, 74.3%, 29.8%)
CIE-LABlab(70.80, -15.86, 63.09)
CIE-LCHlch(70.80, 65.06, 104.11°)
OKLaboklab(74.29% -0.0503 0.1387)
OKLCHoklch(74.29% 0.148 110)
XYZxyz(34.9746, 41.9035, 8.8301)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B32E #2F2EB3
analogous
#B3722E #B2B32E #70B32E
triadic
#B2B32E #2EB2B3 #B32EB2
tetradic
#B2B32E #2EB372 #2F2EB3 #B32E70
square
#B2B32E #2EB372 #2F2EB3 #B32E70
split-complementary
#B2B32E #2E70B3 #722EB3
monochromatic
#515215 #828221 #B2B32E #D0D14D #DDDE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B32E#FFFFFF#000000##000000
##B2B32E1.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)
#C2AB10
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#BFA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b32e;
/* rgb */ color: rgb(178, 179, 46);
/* oklch */ color: oklch(74.3% 0.148 110.0);
Tailwind
colors: {
  custom: {
    50: '#cdc971',
    500: '#b2b32e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b32e;
$custom-light: #cdc971;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b32e",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 60.451,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74287,
    "c": 0.14753,
    "h": 110
  },
  "luminance": 0.41902
}

Semantic roles & 50–950 ramp

primary
#B2B32E
secondary
#7776C6
accent
#46E247
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B32E

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

Preview Lab → · Contrast checker → · Palette generator →

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