#B7BB30#B7BB30

#B7BB30 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.153 H 111.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#B7BB30
RGBrgb(183, 187, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 74%, 73%)
CMYKcmyk(2.1%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.43, -17.67, 65.03)
CIE-LCHlch(73.43, 67.39, 105.20°)
OKLaboklab(76.49% -0.0555 0.143)
OKLCHoklch(76.49% 0.153 111.2)
XYZxyz(37.8336, 45.8223, 9.6474)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB30 #3430BB
analogous
#BB7930 #B7BB30 #71BB30
triadic
#B7BB30 #30B7BB #BB30B7
tetradic
#B7BB30 #30BB79 #3430BB #BB3071
square
#B7BB30 #30BB79 #3430BB #BB3071
split-complementary
#B7BB30 #3071BB #7930BB
monochromatic
#585A17 #878A23 #B7BB30 #D0D355 #DDE086

Accessibility & contrast

On white

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

On black

10.16
#B7BB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB30
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB30#FFFFFF#000000##000000
##B7BB301.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb30;
/* rgb */ color: rgb(183, 187, 48);
/* oklch */ color: oklch(76.5% 0.153 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf73',
    500: '#b7bb30',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb30;
$custom-light: #d0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb30",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 61.727,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76489,
    "c": 0.15334,
    "h": 111.2
  },
  "luminance": 0.45821
}

Semantic roles & 50–950 ramp

primary
#B7BB30
secondary
#807DC9
accent
#45E24A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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