#B2B22D#B2B22D

#B2B22D 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#B2B22D
RGBrgb(178, 178, 45)
HSLhsl(60, 60%, 44%)
HSVhsv(60, 75%, 70%)
CMYKcmyk(0%, 0%, 74.7%, 30.2%)
CIE-LABlab(70.52, -15.40, 63.16)
CIE-LCHlch(70.52, 65.01, 103.70°)
OKLaboklab(74.06% -0.0491 0.1386)
OKLCHoklch(74.06% 0.147 109.5)
XYZxyz(34.7554, 41.4963, 8.6609)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B22D #2D2DB2
analogous
#B26F2D #B2B22D #6FB22D
triadic
#B2B22D #2DB2B2 #B22DB2
tetradic
#B2B22D #2DB26F #2D2DB2 #B22D6F
square
#B2B22D #2DB26F #2D2DB2 #B22D6F
split-complementary
#B2B22D #2D6FB2 #6F2DB2
monochromatic
#505014 #818121 #B2B22D #D1D14B #DEDE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B22D#FFFFFF#000000##000000
##B2B22D1.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)
#C1AA0E
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b22d;
/* rgb */ color: rgb(178, 178, 45);
/* oklch */ color: oklch(74.1% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdc871',
    500: '#b2b22d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b22d;
$custom-light: #cdc871;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b22d",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.14709,
    "h": 109.5
  },
  "luminance": 0.41495
}

Semantic roles & 50–950 ramp

primary
#B2B22D
secondary
#7575C6
accent
#45E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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