#B5BB37#B5BB37

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

Color values

HEX#B5BB37
RGBrgb(181, 187, 55)
HSLhsl(63, 55%, 47%)
HSVhsv(63, 71%, 73%)
CMYKcmyk(3.2%, 0%, 70.6%, 26.7%)
CIE-LABlab(73.31, -18.19, 62.43)
CIE-LCHlch(73.31, 65.02, 106.25°)
OKLaboklab(76.37% -0.0562 0.1388)
OKLCHoklch(76.37% 0.15 112)
XYZxyz(37.5171, 45.6411, 10.4470)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB37 #3D37BB
analogous
#BB7F37 #B5BB37 #73BB37
triadic
#B5BB37 #37B5BB #BB37B5
tetradic
#B5BB37 #37BB7F #3D37BB #BB3773
square
#B5BB37 #37BB7F #3D37BB #BB3773
split-complementary
#B5BB37 #3773BB #7F37BB
monochromatic
#595C1B #878C29 #B5BB37 #CBD05F #DADE8E

Accessibility & contrast

On white

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

On black

10.13
#B5BB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB37
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB37#FFFFFF#000000##000000
##B5BB371.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B220
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#C1B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb37;
/* rgb */ color: rgb(181, 187, 55);
/* oklch */ color: oklch(76.4% 0.150 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfcf77',
    500: '#b5bb37',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb37;
$custom-light: #cfcf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb37",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 55
  },
  "hsl": {
    "h": 62.727,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76368,
    "c": 0.1497,
    "h": 112
  },
  "luminance": 0.4564
}

Semantic roles & 50–950 ramp

primary
#B5BB37
secondary
#8885C9
accent
#4ADE51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB37

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

Preview Lab → · Contrast checker → · Palette generator →

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