#B5BB2E#B5BB2E

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

Color values

HEX#B5BB2E
RGBrgb(181, 187, 46)
HSLhsl(63, 61%, 46%)
HSVhsv(63, 75%, 73%)
CMYKcmyk(3.2%, 0%, 75.4%, 26.7%)
CIE-LABlab(73.26, -18.61, 65.46)
CIE-LCHlch(73.26, 68.06, 105.87°)
OKLaboklab(76.31% -0.0581 0.1436)
OKLCHoklch(76.31% 0.155 112)
XYZxyz(37.3208, 45.5626, 9.4127)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB2E #342EBB
analogous
#BB7A2E #B5BB2E #6EBB2E
triadic
#B5BB2E #2EB5BB #BB2EB5
tetradic
#B5BB2E #2EBB7A #342EBB #BB2E6E
square
#B5BB2E #2EBB7A #342EBB #BB2E6E
split-complementary
#B5BB2E #2E6EBB #7A2EBB
monochromatic
#565916 #858A22 #B5BB2E #CFD452 #DCE083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BB2E#FFFFFF#000000##000000
##B5BB2E1.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)
#CAB20A
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#C2AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb2e;
/* rgb */ color: rgb(181, 187, 46);
/* oklch */ color: oklch(76.3% 0.155 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfcf72',
    500: '#b5bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb2e;
$custom-light: #cfcf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb2e",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 62.553,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76311,
    "c": 0.15493,
    "h": 112
  },
  "luminance": 0.45562
}

Semantic roles & 50–950 ramp

primary
#B5BB2E
secondary
#7F7BCA
accent
#44E44B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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