#B8D242#B8D242

#B8D242 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.8% C 0.167 H 119.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#B8D242
RGBrgb(184, 210, 66)
HSLhsl(71, 62%, 54%)
HSVhsv(71, 69%, 82%)
CMYKcmyk(12.4%, 0%, 68.6%, 17.6%)
CIE-LABlab(80.00, -27.59, 65.09)
CIE-LCHlch(80.00, 70.69, 112.97°)
OKLaboklab(81.81% -0.0814 0.1461)
OKLCHoklch(81.81% 0.167 119.1)
XYZxyz(43.7979, 56.6772, 13.7857)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D242 #5C42D2
analogous
#D2A442 #B8D242 #70D242
triadic
#B8D242 #42B8D2 #D242B8
tetradic
#B8D242 #42D2A4 #5C42D2 #D24270
square
#B8D242 #42D2A4 #5C42D2 #D24270
split-complementary
#B8D242 #4270D2 #A442D2
monochromatic
#6B7C1E #96AD29 #B8D242 #CBDE73 #DDEAA5

Accessibility & contrast

On white

1.70
#B8D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#B8D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D242
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D242#FFFFFF#000000##000000
##B8D2421.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#C3C7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b8d242;
/* rgb */ color: rgb(184, 210, 66);
/* oklch */ color: oklch(81.8% 0.167 119.1);
Tailwind
colors: {
  custom: {
    50: '#d1df7f',
    500: '#b8d242',
    950: '#000000',
  },
}
SCSS
$custom: #b8d242;
$custom-light: #d1df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d242",
  "rgb": {
    "r": 184,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 70.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.16723,
    "h": 119.1
  },
  "luminance": 0.56677
}

Semantic roles & 50–950 ramp

primary
#B8D242
secondary
#433484
accent
#43E560
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8D242

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

Preview Lab → · Contrast checker → · Palette generator →

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