#B5C960#B5C960

#B5C960 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.9% C 0.133 H 118.5°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#B5C960
RGBrgb(181, 201, 96)
HSLhsl(71, 49%, 58%)
HSVhsv(71, 52%, 79%)
CMYKcmyk(10%, 0%, 52.2%, 21.2%)
CIE-LABlab(77.54, -22.21, 49.58)
CIE-LCHlch(77.54, 54.32, 114.13°)
OKLaboklab(79.87% -0.0633 0.1169)
OKLCHoklch(79.87% 0.133 118.5)
XYZxyz(42.0545, 52.4419, 18.9709)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C960 #7460C9
analogous
#C9A960 #B5C960 #80C960
triadic
#B5C960 #60B5C9 #C960B5
tetradic
#B5C960 #60C9A9 #7460C9 #C96080
square
#B5C960 #60C9A9 #7460C9 #C96080
split-complementary
#B5C960 #6080C9 #A960C9
monochromatic
#72822C #9AB03C #B5C960 #CAD98E #E0E8BB

Accessibility & contrast

On white

1.83
#B5C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#B5C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C960
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C960#FFFFFF#000000##000000
##B5C9601.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#BEC0B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5c960;
/* rgb */ color: rgb(181, 201, 96);
/* oklch */ color: oklch(79.9% 0.133 118.5);
Tailwind
colors: {
  custom: {
    50: '#cdd990',
    500: '#b5c960',
    950: '#000000',
  },
}
SCSS
$custom: #b5c960;
$custom-light: #cdd990;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c960",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 71.429,
    "s": 49.296,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79872,
    "c": 0.13293,
    "h": 118.5
  },
  "luminance": 0.52442
}

Semantic roles & 50–950 ramp

primary
#B5C960
secondary
#51438A
accent
#4FD969
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #B5C960

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

Preview Lab → · Contrast checker → · Palette generator →

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