#B2B33A#B2B33A

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

Color values

HEX#B2B33A
RGBrgb(178, 179, 58)
HSLhsl(60, 51%, 46%)
HSVhsv(60, 68%, 70%)
CMYKcmyk(0.6%, 0%, 67.6%, 29.8%)
CIE-LABlab(70.88, -15.26, 58.80)
CIE-LCHlch(70.88, 60.74, 104.55°)
OKLaboklab(74.37% -0.0475 0.1317)
OKLCHoklch(74.37% 0.14 109.8)
XYZxyz(35.2451, 42.0116, 10.2546)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B33A #3B3AB3
analogous
#B3783A #B2B33A #76B33A
triadic
#B2B33A #3AB2B3 #B33AB2
tetradic
#B2B33A #3AB378 #3B3AB3 #B33A76
square
#B2B33A #3AB378 #3B3AB3 #B33A76
split-complementary
#B2B33A #3A76B3 #783AB3
monochromatic
#56571C #84852B #B2B33A #CACB5F #DADA8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B33A#FFFFFF#000000##000000
##B2B33A1.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)
#C1AB28
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#BEA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b33a;
/* rgb */ color: rgb(178, 179, 58);
/* oklch */ color: oklch(74.4% 0.140 109.8);
Tailwind
colors: {
  custom: {
    50: '#ccc977',
    500: '#b2b33a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b33a;
$custom-light: #ccc977;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b33a",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 60.496,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74371,
    "c": 0.14,
    "h": 109.8
  },
  "luminance": 0.42011
}

Semantic roles & 50–950 ramp

primary
#B2B33A
secondary
#8584C5
accent
#4DDB4E
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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