#B5C73A#B5C73A

#B5C73A is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.161 H 116.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#B5C73A
RGBrgb(181, 199, 58)
HSLhsl(68, 56%, 50%)
HSVhsv(68, 71%, 78%)
CMYKcmyk(9%, 0%, 70.9%, 22%)
CIE-LABlab(76.66, -23.96, 64.63)
CIE-LCHlch(76.66, 68.92, 110.34°)
OKLaboklab(79.06% -0.072 0.1439)
OKLCHoklch(79.06% 0.161 116.6)
XYZxyz(40.2442, 50.9766, 11.7216)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C73A #4C3AC7
analogous
#C7933A #B5C73A #6EC73A
triadic
#B5C73A #3AB5C7 #C73AB5
tetradic
#B5C73A #3AC793 #4C3AC7 #C73A6E
square
#B5C73A #3AC793 #4C3AC7 #C73A6E
split-complementary
#B5C73A #3A6EC7 #933AC7
monochromatic
#5F691E #8B982B #B5C73A #C7D56A #D9E299

Accessibility & contrast

On white

1.88
#B5C73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#B5C73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C73A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C73A#FFFFFF#000000##000000
##B5C73A1.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD21
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#C0BCAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c73a;
/* rgb */ color: rgb(181, 199, 58);
/* oklch */ color: oklch(79.1% 0.161 116.6);
Tailwind
colors: {
  custom: {
    50: '#cfd779',
    500: '#b5c73a',
    950: '#000000',
  },
}
SCSS
$custom: #b5c73a;
$custom-light: #cfd779;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c73a",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 67.66,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79062,
    "c": 0.16088,
    "h": 116.6
  },
  "luminance": 0.50976
}

Semantic roles & 50–950 ramp

primary
#B5C73A
secondary
#3B3273
accent
#49DF5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C73A

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

Preview Lab → · Contrast checker → · Palette generator →

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