#B5B930#B5B930

#B5B930 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.152 H 111.2°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B5B930
RGBrgb(181, 185, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 74%, 73%)
CMYKcmyk(2.2%, 0%, 74.1%, 27.5%)
CIE-LABlab(72.72, -17.52, 64.30)
CIE-LCHlch(72.72, 66.65, 105.24°)
OKLaboklab(75.88% -0.0549 0.1415)
OKLCHoklch(75.88% 0.152 111.2)
XYZxyz(36.9398, 44.7361, 9.4848)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B930 #3430B9
analogous
#B97830 #B5B930 #70B930
triadic
#B5B930 #30B5B9 #B930B5
tetradic
#B5B930 #30B978 #3430B9 #B93070
square
#B5B930 #30B978 #3430B9 #B93070
split-complementary
#B5B930 #3070B9 #7830B9
monochromatic
#565817 #858823 #B5B930 #CFD354 #DCDF84

Accessibility & contrast

On white

2.11
#B5B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B5B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B930
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B930#FFFFFF#000000##000000
##B5B9301.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B112
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b930;
/* rgb */ color: rgb(181, 185, 48);
/* oklch */ color: oklch(75.9% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd73',
    500: '#b5b930',
    950: '#000000',
  },
}
SCSS
$custom: #b5b930;
$custom-light: #cfcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b930",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 61.752,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7588,
    "c": 0.15178,
    "h": 111.2
  },
  "luminance": 0.44735
}

Semantic roles & 50–950 ramp

primary
#B5B930
secondary
#7F7CC9
accent
#46E24A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B930

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

Preview Lab → · Contrast checker → · Palette generator →

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