#B5CF3A#B5CF3A

#B5CF3A is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.9% C 0.170 H 119.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#B5CF3A
RGBrgb(181, 207, 58)
HSLhsl(70, 61%, 52%)
HSVhsv(70, 72%, 81%)
CMYKcmyk(12.6%, 0%, 72%, 18.8%)
CIE-LABlab(78.90, -27.81, 66.80)
CIE-LCHlch(78.90, 72.36, 112.60°)
OKLaboklab(80.86% -0.0826 0.1485)
OKLCHoklch(80.86% 0.17 119.1)
XYZxyz(42.1335, 54.7552, 12.3514)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CF3A #543ACF
analogous
#CF9F3A #B5CF3A #6BCF3A
triadic
#B5CF3A #3AB5CF #CF3AB5
tetradic
#B5CF3A #3ACF9F #543ACF #CF3A6B
square
#B5CF3A #3ACF9F #543ACF #CF3A6B
split-complementary
#B5CF3A #3A6BCF #9F3ACF
monochromatic
#64731C #8EA428 #B5CF3A #C7DB6B #DAE79C

Accessibility & contrast

On white

1.76
#B5CF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#B5CF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CF3A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CF3A#FFFFFF#000000##000000
##B5CF3A1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#C0C4B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b5cf3a;
/* rgb */ color: rgb(181, 207, 58);
/* oklch */ color: oklch(80.9% 0.170 119.1);
Tailwind
colors: {
  custom: {
    50: '#cfdd7a',
    500: '#b5cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5cf3a;
$custom-light: #cfdd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cf3a",
  "rgb": {
    "r": 181,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 70.47,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.16991,
    "h": 119.1
  },
  "luminance": 0.54755
}

Semantic roles & 50–950 ramp

primary
#B5CF3A
secondary
#3F327B
accent
#44E460
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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