#B5BB30#B5BB30

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

Color values

HEX#B5BB30
RGBrgb(181, 187, 48)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(3.2%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.27, -18.52, 64.82)
CIE-LCHlch(73.27, 67.42, 105.95°)
OKLaboklab(76.32% -0.0577 0.1426)
OKLCHoklch(76.32% 0.154 112)
XYZxyz(37.3611, 45.5787, 9.6252)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB30 #3630BB
analogous
#BB7B30 #B5BB30 #6FBB30
triadic
#B5BB30 #30B5BB #BB30B5
tetradic
#B5BB30 #30BB7B #3630BB #BB306F
square
#B5BB30 #30BB7B #3630BB #BB306F
split-complementary
#B5BB30 #306FBB #7B30BB
monochromatic
#575A17 #868A23 #B5BB30 #CED355 #DCE086

Accessibility & contrast

On white

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

On black

10.12
#B5BB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB30
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB30#FFFFFF#000000##000000
##B5BB301.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB210
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#C2AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb30;
/* rgb */ color: rgb(181, 187, 48);
/* oklch */ color: oklch(76.3% 0.154 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfcf73',
    500: '#b5bb30',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb30;
$custom-light: #cfcf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb30",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 62.59,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76323,
    "c": 0.15384,
    "h": 112
  },
  "luminance": 0.45578
}

Semantic roles & 50–950 ramp

primary
#B5BB30
secondary
#817DC9
accent
#45E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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