#B8D940#B8D940

#B8D940 is a very light, vivid yellow-green. Relative luminance 0.602; OKLCH L 83.4% C 0.177 H 121.0°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#B8D940
RGBrgb(184, 217, 64)
HSLhsl(73, 67%, 55%)
HSVhsv(73, 71%, 85%)
CMYKcmyk(15.2%, 0%, 70.5%, 14.9%)
CIE-LABlab(81.94, -31.00, 67.75)
CIE-LCHlch(81.94, 74.50, 114.59°)
OKLaboklab(83.37% -0.0911 0.1513)
OKLCHoklch(83.37% 0.177 121)
XYZxyz(45.5062, 60.1863, 14.0693)
Luminance0.6019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D940 #6140D9
analogous
#D9AD40 #B8D940 #6CD940
triadic
#B8D940 #40B8D9 #D940B8
tetradic
#B8D940 #40D9AD #6140D9 #D9406C
square
#B8D940 #40D9AD #6140D9 #D9406C
split-complementary
#B8D940 #406CD9 #AD40D9
monochromatic
#6D841A #98B724 #B8D940 #CBE373 #DEEDA6

Accessibility & contrast

On white

1.61
#B8D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#B8D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D940
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D940#FFFFFF#000000##000000
##B8D9401.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC25
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#C2CEBB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b8d940;
/* rgb */ color: rgb(184, 217, 64);
/* oklch */ color: oklch(83.4% 0.177 121.0);
Tailwind
colors: {
  custom: {
    50: '#d1e47e',
    500: '#b8d940',
    950: '#000000',
  },
}
SCSS
$custom: #b8d940;
$custom-light: #d1e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d940",
  "rgb": {
    "r": 184,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 72.941,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83372,
    "c": 0.17663,
    "h": 121
  },
  "luminance": 0.60186
}

Semantic roles & 50–950 ramp

primary
#B8D940
secondary
#45328B
accent
#3EEA63
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8D940

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

Preview Lab → · Contrast checker → · Palette generator →

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