#B1C121#B1C121

#B1C121 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.168 H 115.7°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B1C121
RGBrgb(177, 193, 33)
HSLhsl(66, 71%, 44%)
HSVhsv(66, 83%, 76%)
CMYKcmyk(8.3%, 0%, 82.9%, 24.3%)
CIE-LABlab(74.57, -23.74, 70.17)
CIE-LCHlch(74.57, 74.08, 108.69°)
OKLaboklab(77.27% -0.0731 0.1516)
OKLCHoklch(77.27% 0.168 115.7)
XYZxyz(37.4770, 47.5975, 8.6515)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C121 #3121C1
analogous
#C18121 #B1C121 #61C121
triadic
#B1C121 #21B1C1 #C121B1
tetradic
#B1C121 #21C181 #3121C1 #C12161
square
#B1C121 #21C181 #3121C1 #C12161
split-complementary
#B1C121 #2161C1 #8121C1
monochromatic
#51580F #818D18 #B1C121 #CFDE41 #DCE775

Accessibility & contrast

On white

2.00
#B1C121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B1C121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C121
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C121#FFFFFF#000000##000000
##B1C1211.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CEB932
Tritanopia (blue-blind)
#BDB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b1c121;
/* rgb */ color: rgb(177, 193, 33);
/* oklch */ color: oklch(77.3% 0.168 115.7);
Tailwind
colors: {
  custom: {
    50: '#ccd36e',
    500: '#b1c121',
    950: '#000000',
  },
}
SCSS
$custom: #b1c121;
$custom-light: #ccd36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c121",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 33
  },
  "hsl": {
    "h": 66,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.77267,
    "c": 0.16826,
    "h": 115.7
  },
  "luminance": 0.47597
}

Semantic roles & 50–950 ramp

primary
#B1C121
secondary
#796FCF
accent
#3AEE4C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B1C121

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

Preview Lab → · Contrast checker → · Palette generator →

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