#B1C842#B1C842

#B1C842 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 79.0% C 0.158 H 118.6°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#B1C842
RGBrgb(177, 200, 66)
HSLhsl(70, 55%, 52%)
HSVhsv(70, 67%, 78%)
CMYKcmyk(11.5%, 0%, 67%, 21.6%)
CIE-LABlab(76.71, -25.63, 61.58)
CIE-LCHlch(76.71, 66.71, 112.60°)
OKLaboklab(79.04% -0.0756 0.1389)
OKLCHoklch(79.04% 0.158 118.6)
XYZxyz(39.7699, 51.0493, 12.9116)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C842 #5942C8
analogous
#C89C42 #B1C842 #6EC842
triadic
#B1C842 #42B1C8 #C842B1
tetradic
#B1C842 #42C89C #5942C8 #C8426E
square
#B1C842 #42C89C #5942C8 #C8426E
split-complementary
#B1C842 #426EC8 #9C42C8
monochromatic
#626F20 #8B9F2E #B1C842 #C5D671 #D8E4A1

Accessibility & contrast

On white

1.87
#B1C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#B1C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C842
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C842#FFFFFF#000000##000000
##B1C8421.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#BBBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b1c842;
/* rgb */ color: rgb(177, 200, 66);
/* oklch */ color: oklch(79.0% 0.158 118.6);
Tailwind
colors: {
  custom: {
    50: '#cbd87e',
    500: '#b1c842',
    950: '#000000',
  },
}
SCSS
$custom: #b1c842;
$custom-light: #cbd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c842",
  "rgb": {
    "r": 177,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 70.299,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79042,
    "c": 0.15812,
    "h": 118.6
  },
  "luminance": 0.51049
}

Semantic roles & 50–950 ramp

primary
#B1C842
secondary
#413679
accent
#4ADE63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B1C842

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

Preview Lab → · Contrast checker → · Palette generator →

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