#B2BB54#B2BB54

#B2BB54 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.128 H 113.6°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B2BB54
RGBrgb(178, 187, 84)
HSLhsl(65, 43%, 53%)
HSVhsv(65, 55%, 73%)
CMYKcmyk(4.8%, 0%, 55.1%, 26.7%)
CIE-LABlab(73.32, -17.51, 50.22)
CIE-LCHlch(73.32, 53.19, 109.22°)
OKLaboklab(76.39% -0.0511 0.1171)
OKLCHoklch(76.39% 0.128 113.6)
XYZxyz(37.7314, 45.6464, 15.2088)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB54 #5D54BB
analogous
#BB9054 #B2BB54 #7EBB54
triadic
#B2BB54 #54B2BB #BB54B2
tetradic
#B2BB54 #54BB90 #5D54BB #BB547E
square
#B2BB54 #54BB90 #5D54BB #BB547E
split-complementary
#B2BB54 #547EBB #9054BB
monochromatic
#656A2A #8E963C #B2BB54 #C6CC80 #D9DEAC

Accessibility & contrast

On white

2.07
#B2BB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B2BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB54
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB54#FFFFFF#000000##000000
##B2BB541.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#C7B55A
Tritanopia (blue-blind)
#BCB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb54;
/* rgb */ color: rgb(178, 187, 84);
/* oklch */ color: oklch(76.4% 0.128 113.6);
Tailwind
colors: {
  custom: {
    50: '#cbcf87',
    500: '#b2bb54',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb54;
$custom-light: #cbcf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb54",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 65.243,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7639,
    "c": 0.12776,
    "h": 113.6
  },
  "luminance": 0.45646
}

Semantic roles & 50–950 ramp

primary
#B2BB54
secondary
#A39FCC
accent
#55D360
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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