#B5D262#B5D262

#B5D262 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.9% C 0.143 H 121.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#B5D262
RGBrgb(181, 210, 98)
HSLhsl(76, 55%, 60%)
HSVhsv(76, 53%, 82%)
CMYKcmyk(13.8%, 0%, 53.3%, 17.6%)
CIE-LABlab(80.07, -26.39, 51.60)
CIE-LCHlch(80.07, 57.96, 117.09°)
OKLaboklab(81.9% -0.0749 0.1214)
OKLCHoklch(81.9% 0.143 121.7)
XYZxyz(44.3076, 56.7988, 20.1820)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D262 #7F62D2
analogous
#D2B762 #B5D262 #7DD262
triadic
#B5D262 #62B5D2 #D262B5
tetradic
#B5D262 #62D2B7 #7F62D2 #D2627D
square
#B5D262 #62D2B7 #7F62D2 #D2627D
split-complementary
#B5D262 #627DD2 #B762D2
monochromatic
#769029 #9CC037 #B5D262 #CBE092 #E2EDC1

Accessibility & contrast

On white

1.70
#B5D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#B5D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D262
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D262#FFFFFF#000000##000000
##B5D2621.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC757
Deuteranopia (green-blind)
#D9C769
Tritanopia (blue-blind)
#BDC9B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b5d262;
/* rgb */ color: rgb(181, 210, 98);
/* oklch */ color: oklch(81.9% 0.143 121.7);
Tailwind
colors: {
  custom: {
    50: '#cddf92',
    500: '#b5d262',
    950: '#000000',
  },
}
SCSS
$custom: #b5d262;
$custom-light: #cddf92;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d262",
  "rgb": {
    "r": 181,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 75.536,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81903,
    "c": 0.14268,
    "h": 121.7
  },
  "luminance": 0.56799
}

Semantic roles & 50–950 ramp

primary
#B5D262
secondary
#584296
accent
#23C34C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B5D262

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

Preview Lab → · Contrast checker → · Palette generator →

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