#B2BB58#B2BB58

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

Color values

HEX#B2BB58
RGBrgb(178, 187, 88)
HSLhsl(65, 42%, 54%)
HSVhsv(65, 53%, 73%)
CMYKcmyk(4.8%, 0%, 52.9%, 26.7%)
CIE-LABlab(73.36, -17.17, 48.40)
CIE-LCHlch(73.36, 51.35, 109.53°)
OKLaboklab(76.44% -0.0497 0.1136)
OKLCHoklch(76.44% 0.124 113.6)
XYZxyz(37.8926, 45.7108, 16.0576)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB58 #6158BB
analogous
#BB9358 #B2BB58 #81BB58
triadic
#B2BB58 #58B2BB #BB58B2
tetradic
#B2BB58 #58BB93 #6158BB #BB5881
square
#B2BB58 #58BB93 #6158BB #BB5881
split-complementary
#B2BB58 #5881BB #9358BB
monochromatic
#676C2C #90983E #B2BB58 #C6CD83 #DADEAF

Accessibility & contrast

On white

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

On black

10.14
#B2BB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB58
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB58#FFFFFF#000000##000000
##B2BB581.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34E
Deuteranopia (green-blind)
#C7B55D
Tritanopia (blue-blind)
#BCB1A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb58;
/* rgb */ color: rgb(178, 187, 88);
/* oklch */ color: oklch(76.4% 0.124 113.6);
Tailwind
colors: {
  custom: {
    50: '#cbcf8a',
    500: '#b2bb58',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb58;
$custom-light: #cbcf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb58",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 88
  },
  "hsl": {
    "h": 65.455,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76437,
    "c": 0.12399,
    "h": 113.6
  },
  "luminance": 0.4571
}

Semantic roles & 50–950 ramp

primary
#B2BB58
secondary
#A6A2CD
accent
#56D261
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2BB58

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

Preview Lab → · Contrast checker → · Palette generator →

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