#B7D142#B7D142

#B7D142 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.5% C 0.166 H 119.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#B7D142
RGBrgb(183, 209, 66)
HSLhsl(71, 61%, 54%)
HSVhsv(71, 68%, 82%)
CMYKcmyk(12.4%, 0%, 68.4%, 18%)
CIE-LABlab(79.65, -27.51, 64.71)
CIE-LCHlch(79.65, 70.32, 113.03°)
OKLaboklab(81.51% -0.0812 0.1453)
OKLCHoklch(81.51% 0.166 119.2)
XYZxyz(43.3131, 56.0618, 13.6924)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D142 #5C42D1
analogous
#D1A442 #B7D142 #70D142
triadic
#B7D142 #42B7D1 #D142B7
tetradic
#B7D142 #42D1A4 #5C42D1 #D14270
square
#B7D142 #42D1A4 #5C42D1 #D14270
split-complementary
#B7D142 #4270D1 #A442D1
monochromatic
#6A7B1E #94AC2A #B7D142 #CADD73 #DDE9A4

Accessibility & contrast

On white

1.72
#B7D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#B7D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D142
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D142#FFFFFF#000000##000000
##B7D1421.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#C1C6B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b7d142;
/* rgb */ color: rgb(183, 209, 66);
/* oklch */ color: oklch(81.5% 0.166 119.2);
Tailwind
colors: {
  custom: {
    50: '#d0df7f',
    500: '#b7d142',
    950: '#000000',
  },
}
SCSS
$custom: #b7d142;
$custom-light: #d0df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d142",
  "rgb": {
    "r": 183,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 70.909,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81514,
    "c": 0.16644,
    "h": 119.2
  },
  "luminance": 0.56062
}

Semantic roles & 50–950 ramp

primary
#B7D142
secondary
#433583
accent
#44E461
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7D142

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

Preview Lab → · Contrast checker → · Palette generator →

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