#B1C72F#B1C72F

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

Color values

HEX#B1C72F
RGBrgb(177, 199, 47)
HSLhsl(69, 62%, 48%)
HSVhsv(69, 76%, 78%)
CMYKcmyk(11.1%, 0%, 76.4%, 22%)
CIE-LABlab(76.31, -26.14, 67.86)
CIE-LCHlch(76.31, 72.72, 111.07°)
OKLaboklab(78.69% -0.0787 0.149)
OKLCHoklch(78.69% 0.168 117.8)
XYZxyz(39.0689, 50.3996, 10.3587)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C72F #452FC7
analogous
#C7912F #B1C72F #65C72F
triadic
#B1C72F #2FB1C7 #C72FB1
tetradic
#B1C72F #2FC791 #452FC7 #C72F65
square
#B1C72F #2FC791 #452FC7 #C72F65
split-complementary
#B1C72F #2F65C7 #912FC7
monochromatic
#596418 #859523 #B1C72F #C6D85B #D7E48C

Accessibility & contrast

On white

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

On black

11.08
#B1C72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C72F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C72F#FFFFFF#000000##000000
##B1C72F1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC02
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#BCBCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b1c72f;
/* rgb */ color: rgb(177, 199, 47);
/* oklch */ color: oklch(78.7% 0.168 117.8);
Tailwind
colors: {
  custom: {
    50: '#ccd774',
    500: '#b1c72f',
    950: '#000000',
  },
}
SCSS
$custom: #b1c72f;
$custom-light: #ccd774;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c72f",
  "rgb": {
    "r": 177,
    "g": 199,
    "b": 47
  },
  "hsl": {
    "h": 68.684,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78688,
    "c": 0.16849,
    "h": 117.8
  },
  "luminance": 0.50399
}

Semantic roles & 50–950 ramp

primary
#B1C72F
secondary
#352C6E
accent
#43E55A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B1C72F

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

Preview Lab → · Contrast checker → · Palette generator →

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