#B5CF45#B5CF45

#B5CF45 is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 80.9% C 0.163 H 119.4°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#B5CF45
RGBrgb(181, 207, 69)
HSLhsl(71, 59%, 54%)
HSVhsv(71, 67%, 81%)
CMYKcmyk(12.6%, 0%, 66.7%, 18.8%)
CIE-LABlab(78.97, -27.19, 62.83)
CIE-LCHlch(78.97, 68.46, 113.40°)
OKLaboklab(80.94% -0.0799 0.1418)
OKLCHoklch(80.94% 0.163 119.4)
XYZxyz(42.4438, 54.8793, 13.9859)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CF45 #5F45CF
analogous
#CFA445 #B5CF45 #70CF45
triadic
#B5CF45 #45B5CF #CF45B5
tetradic
#B5CF45 #45CFA4 #5F45CF #CF4570
square
#B5CF45 #45CFA4 #5F45CF #CF4570
split-complementary
#B5CF45 #4570CF #A445CF
monochromatic
#697A20 #93AB2C #B5CF45 #C8DC76 #DCE8A6

Accessibility & contrast

On white

1.75
#B5CF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#B5CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CF45
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CF45#FFFFFF#000000##000000
##B5CF451.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5cf45;
/* rgb */ color: rgb(181, 207, 69);
/* oklch */ color: oklch(80.9% 0.163 119.4);
Tailwind
colors: {
  custom: {
    50: '#cedd80',
    500: '#b5cf45',
    950: '#000000',
  },
}
SCSS
$custom: #b5cf45;
$custom-light: #cedd80;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cf45",
  "rgb": {
    "r": 181,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 71.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8094,
    "c": 0.16279,
    "h": 119.4
  },
  "luminance": 0.54879
}

Semantic roles & 50–950 ramp

primary
#B5CF45
secondary
#443682
accent
#46E263
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B5CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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