#B2BB57#B2BB57

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

Color values

HEX#B2BB57
RGBrgb(178, 187, 87)
HSLhsl(65, 42%, 54%)
HSVhsv(65, 53%, 73%)
CMYKcmyk(4.8%, 0%, 53.5%, 26.7%)
CIE-LABlab(73.35, -17.25, 48.86)
CIE-LCHlch(73.35, 51.81, 109.45°)
OKLaboklab(76.43% -0.0501 0.1145)
OKLCHoklch(76.43% 0.125 113.6)
XYZxyz(37.8514, 45.6944, 15.8409)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB57 #6057BB
analogous
#BB9257 #B2BB57 #80BB57
triadic
#B2BB57 #57B2BB #BB57B2
tetradic
#B2BB57 #57BB92 #6057BB #BB5780
square
#B2BB57 #57BB92 #6057BB #BB5780
split-complementary
#B2BB57 #5780BB #9257BB
monochromatic
#666C2C #8F973D #B2BB57 #C6CD83 #DADEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB57#FFFFFF#000000##000000
##B2BB571.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)
#C7B34D
Deuteranopia (green-blind)
#C7B55D
Tritanopia (blue-blind)
#BCB1A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb57;
/* rgb */ color: rgb(178, 187, 87);
/* oklch */ color: oklch(76.4% 0.125 113.6);
Tailwind
colors: {
  custom: {
    50: '#cbcf89',
    500: '#b2bb57',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb57;
$custom-light: #cbcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb57",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 65.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76425,
    "c": 0.12494,
    "h": 113.6
  },
  "luminance": 0.45694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2BB57

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

Preview Lab → · Contrast checker → · Palette generator →

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