#B2BB4E#B2BB4E

#B2BB4E is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.133 H 113.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#B2BB4E
RGBrgb(178, 187, 78)
HSLhsl(65, 44%, 52%)
HSVhsv(65, 58%, 73%)
CMYKcmyk(4.8%, 0%, 58.3%, 26.7%)
CIE-LABlab(73.26, -17.99, 52.89)
CIE-LCHlch(73.26, 55.86, 108.78°)
OKLaboklab(76.32% -0.0531 0.1221)
OKLCHoklch(76.32% 0.133 113.5)
XYZxyz(37.5064, 45.5564, 14.0237)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB4E #574EBB
analogous
#BB8E4E #B2BB4E #7CBB4E
triadic
#B2BB4E #4EB2BB #BB4EB2
tetradic
#B2BB4E #4EBB8E #574EBB #BB4E7C
square
#B2BB4E #4EBB8E #574EBB #BB4E7C
split-complementary
#B2BB4E #4E7CBB #8E4EBB
monochromatic
#626728 #8C9339 #B2BB4E #C5CC7A #D8DDA6

Accessibility & contrast

On white

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

On black

10.11
#B2BB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB4E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB4E#FFFFFF#000000##000000
##B2BB4E1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#C7B555
Tritanopia (blue-blind)
#BDB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb4e;
/* rgb */ color: rgb(178, 187, 78);
/* oklch */ color: oklch(76.3% 0.133 113.5);
Tailwind
colors: {
  custom: {
    50: '#cbcf84',
    500: '#b2bb4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb4e;
$custom-light: #cbcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb4e",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 64.954,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76324,
    "c": 0.13314,
    "h": 113.5
  },
  "luminance": 0.45556
}

Semantic roles & 50–950 ramp

primary
#B2BB4E
secondary
#9E9BCA
accent
#54D45E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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