#B1D040#B1D040

#B1D040 is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.8% C 0.169 H 120.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#B1D040
RGBrgb(177, 208, 64)
HSLhsl(73, 61%, 53%)
HSVhsv(73, 69%, 82%)
CMYKcmyk(14.9%, 0%, 69.2%, 18.4%)
CIE-LABlab(78.94, -29.57, 64.61)
CIE-LCHlch(78.94, 71.05, 114.59°)
OKLaboklab(80.84% -0.0867 0.1449)
OKLCHoklch(80.84% 0.169 120.9)
XYZxyz(41.6134, 54.8291, 13.2403)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D040 #5F40D0
analogous
#D0A740 #B1D040 #69D040
triadic
#B1D040 #40B1D0 #D040B1
tetradic
#B1D040 #40D0A7 #5F40D0 #D04069
square
#B1D040 #40D0A7 #5F40D0 #D04069
split-complementary
#B1D040 #4069D0 #A740D0
monochromatic
#65781E #8EA92A #B1D040 #C5DC71 #D9E8A2

Accessibility & contrast

On white

1.76
#B1D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#B1D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D040
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D040#FFFFFF#000000##000000
##B1D0401.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#BBC5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b1d040;
/* rgb */ color: rgb(177, 208, 64);
/* oklch */ color: oklch(80.8% 0.169 120.9);
Tailwind
colors: {
  custom: {
    50: '#ccde7d',
    500: '#b1d040',
    950: '#000000',
  },
}
SCSS
$custom: #b1d040;
$custom-light: #ccde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d040",
  "rgb": {
    "r": 177,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 72.917,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80836,
    "c": 0.16888,
    "h": 120.9
  },
  "luminance": 0.54829
}

Semantic roles & 50–950 ramp

primary
#B1D040
secondary
#443480
accent
#44E466
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1D040

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

Preview Lab → · Contrast checker → · Palette generator →

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