#B2BB4F#B2BB4F

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

Color values

HEX#B2BB4F
RGBrgb(178, 187, 79)
HSLhsl(65, 44%, 52%)
HSVhsv(65, 58%, 73%)
CMYKcmyk(4.8%, 0%, 57.8%, 26.7%)
CIE-LABlab(73.27, -17.91, 52.45)
CIE-LCHlch(73.27, 55.42, 108.85°)
OKLaboklab(76.33% -0.0527 0.1213)
OKLCHoklch(76.33% 0.132 113.5)
XYZxyz(37.5425, 45.5708, 14.2140)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB4F #584FBB
analogous
#BB8E4F #B2BB4F #7CBB4F
triadic
#B2BB4F #4FB2BB #BB4FB2
tetradic
#B2BB4F #4FBB8E #584FBB #BB4F7C
square
#B2BB4F #4FBB8E #584FBB #BB4F7C
split-complementary
#B2BB4F #4F7CBB #8E4FBB
monochromatic
#626828 #8C9439 #B2BB4F #C5CC7B #D9DDA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB4F#FFFFFF#000000##000000
##B2BB4F1.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)
#C8B343
Deuteranopia (green-blind)
#C7B555
Tritanopia (blue-blind)
#BDB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb4f;
/* rgb */ color: rgb(178, 187, 79);
/* oklch */ color: oklch(76.3% 0.132 113.5);
Tailwind
colors: {
  custom: {
    50: '#cbcf84',
    500: '#b2bb4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb4f;
$custom-light: #cbcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb4f",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 65,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76334,
    "c": 0.13226,
    "h": 113.5
  },
  "luminance": 0.4557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2BB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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