#B2B232#B2B232

#B2B232 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.144 H 109.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B2B232
RGBrgb(178, 178, 50)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0%, 0%, 71.9%, 30.2%)
CIE-LABlab(70.55, -15.17, 61.47)
CIE-LCHlch(70.55, 63.31, 103.86°)
OKLaboklab(74.09% -0.048 0.136)
OKLCHoklch(74.09% 0.144 109.5)
XYZxyz(34.8575, 41.5371, 9.1983)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B232 #3232B2
analogous
#B27232 #B2B232 #72B232
triadic
#B2B232 #32B2B2 #B232B2
tetradic
#B2B232 #32B272 #3232B2 #B23272
square
#B2B232 #32B272 #3232B2 #B23272
split-complementary
#B2B232 #3272B2 #7232B2
monochromatic
#525217 #828225 #B2B232 #CFCF53 #DCDC82

Accessibility & contrast

On white

2.26
#B2B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B2B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B232
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B232#FFFFFF#000000##000000
##B2B2321.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b232;
/* rgb */ color: rgb(178, 178, 50);
/* oklch */ color: oklch(74.1% 0.144 109.5);
Tailwind
colors: {
  custom: {
    50: '#ccc873',
    500: '#b2b232',
    950: '#000000',
  },
}
SCSS
$custom: #b2b232;
$custom-light: #ccc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b232",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74092,
    "c": 0.14419,
    "h": 109.5
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#B2B232
secondary
#7B7BC5
accent
#48DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B232

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

Preview Lab → · Contrast checker → · Palette generator →

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