#B8D942#B8D942

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

Color values

HEX#B8D942
RGBrgb(184, 217, 66)
HSLhsl(73, 67%, 55%)
HSVhsv(73, 70%, 85%)
CMYKcmyk(15.2%, 0%, 69.6%, 14.9%)
CIE-LABlab(81.95, -30.89, 67.05)
CIE-LCHlch(81.95, 73.82, 114.73°)
OKLaboklab(83.39% -0.0906 0.1502)
OKLCHoklch(83.39% 0.175 121.1)
XYZxyz(45.5641, 60.2094, 14.3744)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D942 #6342D9
analogous
#D9AF42 #B8D942 #6CD942
triadic
#B8D942 #42B8D9 #D942B8
tetradic
#B8D942 #42D9AF #6342D9 #D9426C
square
#B8D942 #42D9AF #6342D9 #D9426C
split-complementary
#B8D942 #426CD9 #AF42D9
monochromatic
#6E861B #98B925 #B8D942 #CBE375 #DEEDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8D942#FFFFFF#000000##000000
##B8D9421.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)
#E6CC29
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#C2CEBB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b8d942;
/* rgb */ color: rgb(184, 217, 66);
/* oklch */ color: oklch(83.4% 0.175 121.1);
Tailwind
colors: {
  custom: {
    50: '#d1e47f',
    500: '#b8d942',
    950: '#000000',
  },
}
SCSS
$custom: #b8d942;
$custom-light: #d1e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d942",
  "rgb": {
    "r": 184,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 73.113,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83386,
    "c": 0.17537,
    "h": 121.1
  },
  "luminance": 0.60209
}

Semantic roles & 50–950 ramp

primary
#B8D942
secondary
#47338C
accent
#3EE964
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8D942

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

Preview Lab → · Contrast checker → · Palette generator →

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