#B5C932#B5C932

#B5C932 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.5% C 0.168 H 117.1°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B5C932
RGBrgb(181, 201, 50)
HSLhsl(68, 60%, 49%)
HSVhsv(68, 75%, 79%)
CMYKcmyk(10%, 0%, 75.1%, 21.2%)
CIE-LABlab(77.18, -25.32, 67.83)
CIE-LCHlch(77.18, 72.40, 110.47°)
OKLaboklab(79.46% -0.0764 0.1493)
OKLCHoklch(79.46% 0.168 117.1)
XYZxyz(40.5194, 51.8278, 10.8862)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C932 #4632C9
analogous
#C99232 #B5C932 #6AC932
triadic
#B5C932 #32B5C9 #C932B5
tetradic
#B5C932 #32C992 #4632C9 #C9326A
square
#B5C932 #32C992 #4632C9 #C9326A
split-complementary
#B5C932 #326AC9 #9232C9
monochromatic
#5D671A #899826 #B5C932 #C8D861 #D9E492

Accessibility & contrast

On white

1.85
#B5C932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B5C932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C932
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C932#FFFFFF#000000##000000
##B5C9321.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE0C
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#C0BEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5c932;
/* rgb */ color: rgb(181, 201, 50);
/* oklch */ color: oklch(79.5% 0.168 117.1);
Tailwind
colors: {
  custom: {
    50: '#cfd976',
    500: '#b5c932',
    950: '#000000',
  },
}
SCSS
$custom: #b5c932;
$custom-light: #cfd976;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c932",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 67.947,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7946,
    "c": 0.16771,
    "h": 117.1
  },
  "luminance": 0.51827
}

Semantic roles & 50–950 ramp

primary
#B5C932
secondary
#372E71
accent
#44E35A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C932

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

Preview Lab → · Contrast checker → · Palette generator →

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