#B8D840#B8D840

#B8D840 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.1% C 0.175 H 120.8°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#B8D840
RGBrgb(184, 216, 64)
HSLhsl(73, 66%, 55%)
HSVhsv(73, 70%, 85%)
CMYKcmyk(14.8%, 0%, 70.4%, 15.3%)
CIE-LABlab(81.66, -30.53, 67.47)
CIE-LCHlch(81.66, 74.06, 114.35°)
OKLaboklab(83.15% -0.0898 0.1508)
OKLCHoklch(83.15% 0.175 120.8)
XYZxyz(45.2492, 59.6723, 13.9836)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D840 #6040D8
analogous
#D8AC40 #B8D840 #6CD840
triadic
#B8D840 #40B8D8 #D840B8
tetradic
#B8D840 #40D8AC #6040D8 #D8406C
square
#B8D840 #40D8AC #6040D8 #D8406C
split-complementary
#B8D840 #406CD8 #AC40D8
monochromatic
#6D831B #97B625 #B8D840 #CBE273 #DEEDA6

Accessibility & contrast

On white

1.62
#B8D840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#B8D840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D840
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D840#FFFFFF#000000##000000
##B8D8401.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#C2CDBA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b8d840;
/* rgb */ color: rgb(184, 216, 64);
/* oklch */ color: oklch(83.1% 0.175 120.8);
Tailwind
colors: {
  custom: {
    50: '#d1e47e',
    500: '#b8d840',
    950: '#000000',
  },
}
SCSS
$custom: #b8d840;
$custom-light: #d1e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d840",
  "rgb": {
    "r": 184,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 72.632,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83146,
    "c": 0.17547,
    "h": 120.8
  },
  "luminance": 0.59672
}

Semantic roles & 50–950 ramp

primary
#B8D840
secondary
#45338A
accent
#3FE963
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8D840

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

Preview Lab → · Contrast checker → · Palette generator →

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