#B5C22E#B5C22E

#B5C22E is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.162 H 114.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#B5C22E
RGBrgb(181, 194, 46)
HSLhsl(65, 62%, 47%)
HSVhsv(65, 76%, 76%)
CMYKcmyk(6.7%, 0%, 76.3%, 23.9%)
CIE-LABlab(75.21, -22.08, 67.26)
CIE-LCHlch(75.21, 70.79, 108.18°)
OKLaboklab(77.87% -0.0678 0.1474)
OKLCHoklch(77.87% 0.162 114.7)
XYZxyz(38.8421, 48.6053, 9.9199)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C22E #3B2EC2
analogous
#C2852E #B5C22E #6BC22E
triadic
#B5C22E #2EB5C2 #C22EB5
tetradic
#B5C22E #2EC285 #3B2EC2 #C22E6B
square
#B5C22E #2EC285 #3B2EC2 #C22E6B
split-complementary
#B5C22E #2E6BC2 #852EC2
monochromatic
#595F17 #879122 #B5C22E #CCD756 #DBE388

Accessibility & contrast

On white

1.96
#B5C22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#B5C22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C22E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C22E#FFFFFF#000000##000000
##B5C22E1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B803
Deuteranopia (green-blind)
#D0BA3B
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c22e;
/* rgb */ color: rgb(181, 194, 46);
/* oklch */ color: oklch(77.9% 0.162 114.7);
Tailwind
colors: {
  custom: {
    50: '#cfd473',
    500: '#b5c22e',
    950: '#000000',
  },
}
SCSS
$custom: #b5c22e;
$custom-light: #cfd473;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c22e",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 65.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77869,
    "c": 0.16224,
    "h": 114.7
  },
  "luminance": 0.48605
}

Semantic roles & 50–950 ramp

primary
#B5C22E
secondary
#867FCC
accent
#43E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C22E

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

Preview Lab → · Contrast checker → · Palette generator →

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