#B2BB59#B2BB59

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

Color values

HEX#B2BB59
RGBrgb(178, 187, 89)
HSLhsl(66, 42%, 54%)
HSVhsv(66, 52%, 73%)
CMYKcmyk(4.8%, 0%, 52.4%, 26.7%)
CIE-LABlab(73.37, -17.08, 47.94)
CIE-LCHlch(73.37, 50.89, 109.61°)
OKLaboklab(76.45% -0.0494 0.1127)
OKLCHoklch(76.45% 0.123 113.7)
XYZxyz(37.9343, 45.7275, 16.2772)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB59 #6259BB
analogous
#BB9359 #B2BB59 #81BB59
triadic
#B2BB59 #59B2BB #BB59B2
tetradic
#B2BB59 #59BB93 #6259BB #BB5981
square
#B2BB59 #59BB93 #6259BB #BB5981
split-complementary
#B2BB59 #5981BB #9359BB
monochromatic
#676D2D #90983E #B2BB59 #C6CD84 #DADFB0

Accessibility & contrast

On white

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

On black

10.15
#B2BB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB59
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB59#FFFFFF#000000##000000
##B2BB591.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bb59;
/* rgb */ color: rgb(178, 187, 89);
/* oklch */ color: oklch(76.4% 0.123 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbcf8b',
    500: '#b2bb59',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb59;
$custom-light: #cbcf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb59",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 89
  },
  "hsl": {
    "h": 65.51,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76449,
    "c": 0.12302,
    "h": 113.7
  },
  "luminance": 0.45727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2BB59

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

Preview Lab → · Contrast checker → · Palette generator →

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