#B1C72A#B1C72A

#B1C72A is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.7% C 0.171 H 117.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#B1C72A
RGBrgb(177, 199, 42)
HSLhsl(68, 65%, 47%)
HSVhsv(68, 79%, 78%)
CMYKcmyk(11.1%, 0%, 78.9%, 22%)
CIE-LABlab(76.29, -26.34, 69.32)
CIE-LCHlch(76.29, 74.15, 110.81°)
OKLaboklab(78.66% -0.0796 0.1512)
OKLCHoklch(78.66% 0.171 117.8)
XYZxyz(38.9738, 50.3615, 9.8577)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C72A #402AC7
analogous
#C78F2A #B1C72A #62C72A
triadic
#B1C72A #2AB1C7 #C72AB1
tetradic
#B1C72A #2AC78F #402AC7 #C72A62
square
#B1C72A #2AC78F #402AC7 #C72A62
split-complementary
#B1C72A #2A62C7 #8F2AC7
monochromatic
#576215 #84941F #B1C72A #C8DB53 #D8E586

Accessibility & contrast

On white

1.90
#B1C72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#B1C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C72A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C72A#FFFFFF#000000##000000
##B1C72A1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D2BD3A
Tritanopia (blue-blind)
#BCBCAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b1c72a;
/* rgb */ color: rgb(177, 199, 42);
/* oklch */ color: oklch(78.7% 0.171 117.8);
Tailwind
colors: {
  custom: {
    50: '#ccd772',
    500: '#b1c72a',
    950: '#000000',
  },
}
SCSS
$custom: #b1c72a;
$custom-light: #ccd772;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c72a",
  "rgb": {
    "r": 177,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 68.408,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78662,
    "c": 0.17091,
    "h": 117.8
  },
  "luminance": 0.50361
}

Semantic roles & 50–950 ramp

primary
#B1C72A
secondary
#32296D
accent
#40E857
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B1C72A

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

Preview Lab → · Contrast checker → · Palette generator →

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