#B5B933#B5B933

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

Color values

HEX#B5B933
RGBrgb(181, 185, 51)
HSLhsl(62, 57%, 46%)
HSVhsv(62, 72%, 73%)
CMYKcmyk(2.2%, 0%, 72.4%, 27.5%)
CIE-LABlab(72.73, -17.38, 63.29)
CIE-LCHlch(72.73, 65.64, 105.36°)
OKLaboklab(75.9% -0.0543 0.1399)
OKLCHoklch(75.9% 0.15 111.2)
XYZxyz(37.0038, 44.7617, 9.8219)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B933 #3733B9
analogous
#B97A33 #B5B933 #72B933
triadic
#B5B933 #33B5B9 #B933B5
tetradic
#B5B933 #33B97A #3733B9 #B93372
square
#B5B933 #33B97A #3733B9 #B93372
split-complementary
#B5B933 #3372B9 #7A33B9
monochromatic
#575919 #868926 #B5B933 #CDD158 #DCDE88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B933#FFFFFF#000000##000000
##B5B9331.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)
#C7B119
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b933;
/* rgb */ color: rgb(181, 185, 51);
/* oklch */ color: oklch(75.9% 0.150 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd74',
    500: '#b5b933',
    950: '#000000',
  },
}
SCSS
$custom: #b5b933;
$custom-light: #cfcd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b933",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 61.791,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75899,
    "c": 0.15006,
    "h": 111.2
  },
  "luminance": 0.44761
}

Semantic roles & 50–950 ramp

primary
#B5B933
secondary
#8280C8
accent
#48E04C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B933

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

Preview Lab → · Contrast checker → · Palette generator →

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