#B2BB3E#B2BB3E

#B2BB3E is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.146 H 113.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#B2BB3E
RGBrgb(178, 187, 62)
HSLhsl(64, 50%, 49%)
HSVhsv(64, 67%, 73%)
CMYKcmyk(4.8%, 0%, 66.8%, 26.7%)
CIE-LABlab(73.12, -19.07, 59.51)
CIE-LCHlch(73.12, 62.49, 107.77°)
OKLaboklab(76.18% -0.0578 0.1338)
OKLCHoklch(76.18% 0.146 113.4)
XYZxyz(37.0009, 45.3542, 11.3616)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB3E #473EBB
analogous
#BB863E #B2BB3E #74BB3E
triadic
#B2BB3E #3EB2BB #BB3EB2
tetradic
#B2BB3E #3EBB86 #473EBB #BB3E74
square
#B2BB3E #3EBB86 #473EBB #BB3E74
split-complementary
#B2BB3E #3E74BB #863EBB
monochromatic
#5B5F20 #868D2F #B2BB3E #C6CD69 #D7DC97

Accessibility & contrast

On white

2.09
#B2BB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B2BB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB3E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB3E#FFFFFF#000000##000000
##B2BB3E1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22C
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#BEB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb3e;
/* rgb */ color: rgb(178, 187, 62);
/* oklch */ color: oklch(76.2% 0.146 113.4);
Tailwind
colors: {
  custom: {
    50: '#cccf7a',
    500: '#b2bb3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb3e;
$custom-light: #cccf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb3e",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 62
  },
  "hsl": {
    "h": 64.32,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.14578,
    "h": 113.4
  },
  "luminance": 0.45353
}

Semantic roles & 50–950 ramp

primary
#B2BB3E
secondary
#918DC8
accent
#4EDA58
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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