#B2B22E#B2B22E

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

Color values

HEX#B2B22E
RGBrgb(178, 178, 46)
HSLhsl(60, 59%, 44%)
HSVhsv(60, 74%, 70%)
CMYKcmyk(0%, 0%, 74.2%, 30.2%)
CIE-LABlab(70.53, -15.35, 62.83)
CIE-LCHlch(70.53, 64.68, 103.73°)
OKLaboklab(74.07% -0.0489 0.1381)
OKLCHoklch(74.07% 0.147 109.5)
XYZxyz(34.7749, 41.5041, 8.7635)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B22E #2E2EB2
analogous
#B2702E #B2B22E #70B22E
triadic
#B2B22E #2EB2B2 #B22EB2
tetradic
#B2B22E #2EB270 #2E2EB2 #B22E70
square
#B2B22E #2EB270 #2E2EB2 #B22E70
split-complementary
#B2B22E #2E70B2 #702EB2
monochromatic
#515115 #818121 #B2B22E #D1D14C #DDDD7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B22E#FFFFFF#000000##000000
##B2B22E1.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)
#C1AA11
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b22e;
/* rgb */ color: rgb(178, 178, 46);
/* oklch */ color: oklch(74.1% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdc871',
    500: '#b2b22e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b22e;
$custom-light: #cdc871;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b22e",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.14654,
    "h": 109.5
  },
  "luminance": 0.41503
}

Semantic roles & 50–950 ramp

primary
#B2B22E
secondary
#7676C6
accent
#46E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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