#B1C22D#B1C22D

#B1C22D is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.5% C 0.164 H 116.2°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B1C22D
RGBrgb(177, 194, 45)
HSLhsl(67, 62%, 47%)
HSVhsv(67, 77%, 76%)
CMYKcmyk(8.8%, 0%, 76.8%, 23.9%)
CIE-LABlab(74.90, -23.80, 67.18)
CIE-LCHlch(74.90, 71.27, 109.51°)
OKLaboklab(77.55% -0.0724 0.1472)
OKLCHoklch(77.55% 0.164 116.2)
XYZxyz(37.8979, 48.1207, 9.7739)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C22D #3E2DC2
analogous
#C2892D #B1C22D #66C22D
triadic
#B1C22D #2DB1C2 #C22DB1
tetradic
#B1C22D #2DC289 #3E2DC2 #C22D66
square
#B1C22D #2DC289 #3E2DC2 #C22D66
split-complementary
#B1C22D #2D66C2 #892DC2
monochromatic
#565F16 #849021 #B1C22D #C9D755 #D8E386

Accessibility & contrast

On white

1.98
#B1C22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#B1C22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C22D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C22D#FFFFFF#000000##000000
##B1C22D1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#BDB7A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c22d;
/* rgb */ color: rgb(177, 194, 45);
/* oklch */ color: oklch(77.5% 0.164 116.2);
Tailwind
colors: {
  custom: {
    50: '#ccd472',
    500: '#b1c22d',
    950: '#000000',
  },
}
SCSS
$custom: #b1c22d;
$custom-light: #ccd472;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c22d",
  "rgb": {
    "r": 177,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 66.846,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77549,
    "c": 0.16404,
    "h": 116.2
  },
  "luminance": 0.4812
}

Semantic roles & 50–950 ramp

primary
#B1C22D
secondary
#877ECD
accent
#42E555
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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