#B2B22C#B2B22C

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

Color values

HEX#B2B22C
RGBrgb(178, 178, 44)
HSLhsl(60, 60%, 44%)
HSVhsv(60, 75%, 70%)
CMYKcmyk(0%, 0%, 75.3%, 30.2%)
CIE-LABlab(70.52, -15.44, 63.49)
CIE-LCHlch(70.52, 65.34, 103.67°)
OKLaboklab(74.05% -0.0493 0.1392)
OKLCHoklch(74.05% 0.148 109.5)
XYZxyz(34.7364, 41.4887, 8.5607)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B22C #2C2CB2
analogous
#B26F2C #B2B22C #6FB22C
triadic
#B2B22C #2CB2B2 #B22CB2
tetradic
#B2B22C #2CB26F #2C2CB2 #B22C6F
square
#B2B22C #2CB26F #2C2CB2 #B22C6F
split-complementary
#B2B22C #2C6FB2 #6F2CB2
monochromatic
#505014 #818120 #B2B22C #D2D249 #DEDE7A

Accessibility & contrast

On white

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

On black

9.30
#B2B22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B22C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B22C#FFFFFF#000000##000000
##B2B22C1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA0B
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b22c;
/* rgb */ color: rgb(178, 178, 44);
/* oklch */ color: oklch(74.1% 0.148 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdc870',
    500: '#b2b22c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b22c;
$custom-light: #cdc870;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b22c",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.14764,
    "h": 109.5
  },
  "luminance": 0.41488
}

Semantic roles & 50–950 ramp

primary
#B2B22C
secondary
#7373C6
accent
#44E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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