#B5C72A#B5C72A

#B5C72A is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.170 H 116.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#B5C72A
RGBrgb(181, 199, 42)
HSLhsl(67, 65%, 47%)
HSVhsv(67, 79%, 78%)
CMYKcmyk(9%, 0%, 78.9%, 22%)
CIE-LABlab(76.58, -24.68, 69.69)
CIE-LCHlch(76.58, 73.93, 109.50°)
OKLaboklab(78.97% -0.0752 0.1519)
OKLCHoklch(78.97% 0.17 116.4)
XYZxyz(39.8985, 50.8384, 9.9010)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C72A #3C2AC7
analogous
#C78B2A #B5C72A #67C72A
triadic
#B5C72A #2AB5C7 #C72AB5
tetradic
#B5C72A #2AC78B #3C2AC7 #C72A67
square
#B5C72A #2AC78B #3C2AC7 #C72A67
split-complementary
#B5C72A #2A67C7 #8B2AC7
monochromatic
#596215 #87941F #B5C72A #CBDB53 #DBE586

Accessibility & contrast

On white

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

On black

11.17
#B5C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C72A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C72A#FFFFFF#000000##000000
##B5C72A1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#C1BBAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c72a;
/* rgb */ color: rgb(181, 199, 42);
/* oklch */ color: oklch(79.0% 0.170 116.4);
Tailwind
colors: {
  custom: {
    50: '#cfd772',
    500: '#b5c72a',
    950: '#000000',
  },
}
SCSS
$custom: #b5c72a;
$custom-light: #cfd772;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c72a",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 66.879,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78968,
    "c": 0.1695,
    "h": 116.4
  },
  "luminance": 0.50838
}

Semantic roles & 50–950 ramp

primary
#B5C72A
secondary
#30296D
accent
#40E853
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C72A

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

Preview Lab → · Contrast checker → · Palette generator →

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