#B2B33B#B2B33B

#B2B33B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.139 H 109.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B2B33B
RGBrgb(178, 179, 59)
HSLhsl(61, 50%, 47%)
HSVhsv(61, 67%, 70%)
CMYKcmyk(0.6%, 0%, 67%, 29.8%)
CIE-LABlab(70.89, -15.20, 58.41)
CIE-LCHlch(70.89, 60.36, 104.59°)
OKLaboklab(74.38% -0.0472 0.1311)
OKLCHoklch(74.38% 0.139 109.8)
XYZxyz(35.2708, 42.0219, 10.3899)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B33B #3C3BB3
analogous
#B3783B #B2B33B #76B33B
triadic
#B2B33B #3BB2B3 #B33BB2
tetradic
#B2B33B #3BB378 #3C3BB3 #B33B76
square
#B2B33B #3BB378 #3C3BB3 #B33B76
split-complementary
#B2B33B #3B76B3 #783BB3
monochromatic
#56571D #84852C #B2B33B #CACB60 #D9DA8E

Accessibility & contrast

On white

2.23
#B2B33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B2B33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B33B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B33B#FFFFFF#000000##000000
##B2B33B1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB29
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#BEA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b33b;
/* rgb */ color: rgb(178, 179, 59);
/* oklch */ color: oklch(74.4% 0.139 109.8);
Tailwind
colors: {
  custom: {
    50: '#ccc978',
    500: '#b2b33b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b33b;
$custom-light: #ccc978;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b33b",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 60.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74378,
    "c": 0.13931,
    "h": 109.8
  },
  "luminance": 0.42021
}

Semantic roles & 50–950 ramp

primary
#B2B33B
secondary
#8685C5
accent
#4EDA4F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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