#B5CF40#B5CF40

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

Color values

HEX#B5CF40
RGBrgb(181, 207, 64)
HSLhsl(71, 60%, 53%)
HSVhsv(71, 69%, 81%)
CMYKcmyk(12.6%, 0%, 69.1%, 18.8%)
CIE-LABlab(78.94, -27.48, 64.69)
CIE-LCHlch(78.94, 70.29, 113.02°)
OKLaboklab(80.9% -0.0812 0.145)
OKLCHoklch(80.9% 0.166 119.2)
XYZxyz(42.2951, 54.8198, 13.2026)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CF40 #5A40CF
analogous
#CFA140 #B5CF40 #6DCF40
triadic
#B5CF40 #40B5CF #CF40B5
tetradic
#B5CF40 #40CFA1 #5A40CF #CF406D
square
#B5CF40 #40CFA1 #5A40CF #CF406D
split-complementary
#B5CF40 #406DCF #A140CF
monochromatic
#67771E #91A82A #B5CF40 #C8DB71 #DBE8A2

Accessibility & contrast

On white

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

On black

11.96
#B5CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CF40
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CF40#FFFFFF#000000##000000
##B5CF401.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#BFC4B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b5cf40;
/* rgb */ color: rgb(181, 207, 64);
/* oklch */ color: oklch(80.9% 0.166 119.2);
Tailwind
colors: {
  custom: {
    50: '#cedd7d',
    500: '#b5cf40',
    950: '#000000',
  },
}
SCSS
$custom: #b5cf40;
$custom-light: #cedd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cf40",
  "rgb": {
    "r": 181,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 70.909,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80901,
    "c": 0.16617,
    "h": 119.2
  },
  "luminance": 0.5482
}

Semantic roles & 50–950 ramp

primary
#B5CF40
secondary
#42347F
accent
#45E362
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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