#B2BB4A#B2BB4A

#B2BB4A is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.137 H 113.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B2BB4A
RGBrgb(178, 187, 74)
HSLhsl(65, 45%, 51%)
HSVhsv(65, 60%, 73%)
CMYKcmyk(4.8%, 0%, 60.4%, 26.7%)
CIE-LABlab(73.22, -18.28, 54.62)
CIE-LCHlch(73.22, 57.60, 108.51°)
OKLaboklab(76.28% -0.0543 0.1253)
OKLCHoklch(76.28% 0.137 113.4)
XYZxyz(37.3673, 45.5007, 13.2913)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB4A #534ABB
analogous
#BB8B4A #B2BB4A #79BB4A
triadic
#B2BB4A #4AB2BB #BB4AB2
tetradic
#B2BB4A #4ABB8B #534ABB #BB4A79
square
#B2BB4A #4ABB8B #534ABB #BB4A79
split-complementary
#B2BB4A #4A79BB #8B4ABB
monochromatic
#606526 #8A9137 #B2BB4A #C5CC76 #D8DCA3

Accessibility & contrast

On white

2.08
#B2BB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B2BB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB4A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB4A#FFFFFF#000000##000000
##B2BB4A1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#C8B551
Tritanopia (blue-blind)
#BDB1A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb4a;
/* rgb */ color: rgb(178, 187, 74);
/* oklch */ color: oklch(76.3% 0.137 113.4);
Tailwind
colors: {
  custom: {
    50: '#cccf81',
    500: '#b2bb4a',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb4a;
$custom-light: #cccf81;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb4a",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 64.779,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76283,
    "c": 0.13654,
    "h": 113.4
  },
  "luminance": 0.455
}

Semantic roles & 50–950 ramp

primary
#B2BB4A
secondary
#9B97C9
accent
#53D55D
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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