#B5BB3B#B5BB3B

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

Color values

HEX#B5BB3B
RGBrgb(181, 187, 59)
HSLhsl(63, 52%, 48%)
HSVhsv(63, 68%, 73%)
CMYKcmyk(3.2%, 0%, 68.4%, 26.7%)
CIE-LABlab(73.34, -17.98, 60.96)
CIE-LCHlch(73.34, 63.56, 106.43°)
OKLaboklab(76.4% -0.0552 0.1363)
OKLCHoklch(76.4% 0.147 112)
XYZxyz(37.6169, 45.6811, 10.9726)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB3B #413BBB
analogous
#BB813B #B5BB3B #75BB3B
triadic
#B5BB3B #3BB5BB #BB3BB5
tetradic
#B5BB3B #3BBB81 #413BBB #BB3B75
square
#B5BB3B #3BBB81 #413BBB #BB3B75
split-complementary
#B5BB3B #3B75BB #813BBB
monochromatic
#5B5E1E #888C2C #B5BB3B #C9CE65 #DADD93

Accessibility & contrast

On white

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

On black

10.14
#B5BB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB3B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB3B#FFFFFF#000000##000000
##B5BB3B1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B227
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#C1B0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb3b;
/* rgb */ color: rgb(181, 187, 59);
/* oklch */ color: oklch(76.4% 0.147 112.0);
Tailwind
colors: {
  custom: {
    50: '#cecf79',
    500: '#b5bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb3b;
$custom-light: #cecf79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb3b",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 62.813,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76397,
    "c": 0.14709,
    "h": 112
  },
  "luminance": 0.4568
}

Semantic roles & 50–950 ramp

primary
#B5BB3B
secondary
#8C8AC8
accent
#4CDB53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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