#B5C22D#B5C22D

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

Color values

HEX#B5C22D
RGBrgb(181, 194, 45)
HSLhsl(65, 62%, 47%)
HSVhsv(65, 77%, 76%)
CMYKcmyk(6.7%, 0%, 76.8%, 23.9%)
CIE-LABlab(75.20, -22.12, 67.56)
CIE-LCHlch(75.20, 71.09, 108.13°)
OKLaboklab(77.86% -0.068 0.1479)
OKLCHoklch(77.86% 0.163 114.7)
XYZxyz(38.8226, 48.5975, 9.8173)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C22D #3A2DC2
analogous
#C2852D #B5C22D #6BC22D
triadic
#B5C22D #2DB5C2 #C22DB5
tetradic
#B5C22D #2DC285 #3A2DC2 #C22D6B
square
#B5C22D #2DC285 #3A2DC2 #C22D6B
split-complementary
#B5C22D #2D6BC2 #852DC2
monochromatic
#585F16 #879021 #B5C22D #CCD755 #DBE386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C22D#FFFFFF#000000##000000
##B5C22D1.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)
#D0B800
Deuteranopia (green-blind)
#D0BA3B
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c22d;
/* rgb */ color: rgb(181, 194, 45);
/* oklch */ color: oklch(77.9% 0.163 114.7);
Tailwind
colors: {
  custom: {
    50: '#cfd473',
    500: '#b5c22d',
    950: '#000000',
  },
}
SCSS
$custom: #b5c22d;
$custom-light: #cfd473;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c22d",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 65.235,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77864,
    "c": 0.16274,
    "h": 114.7
  },
  "luminance": 0.48597
}

Semantic roles & 50–950 ramp

primary
#B5C22D
secondary
#857ECD
accent
#42E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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