#7FB838#7FB838

#7FB838 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.8% C 0.168 H 130.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7FB838
RGBrgb(127, 184, 56)
HSLhsl(87, 53%, 47%)
HSVhsv(87, 70%, 72%)
CMYKcmyk(31%, 0%, 69.6%, 27.8%)
CIE-LABlab(68.81, -38.47, 56.34)
CIE-LCHlch(68.81, 68.22, 124.33°)
OKLaboklab(71.81% -0.1089 0.1274)
OKLCHoklch(71.81% 0.168 130.5)
XYZxyz(26.6065, 39.0777, 9.8815)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB838 #7138B8
analogous
#B8B138 #7FB838 #3FB838
triadic
#7FB838 #387FB8 #B8387F
tetradic
#7FB838 #38B8B1 #7138B8 #B8383F
square
#7FB838 #38B8B1 #7138B8 #B8383F
split-complementary
#7FB838 #383FB8 #B138B8
monochromatic
#3E5A1B #5F892A #7FB838 #9DCE5F #BADD8E

Accessibility & contrast

On white

2.38
#7FB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#7FB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB838
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB838#FFFFFF#000000##000000
##7FB8381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB24
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#82B09F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb838;
/* rgb */ color: rgb(127, 184, 56);
/* oklch */ color: oklch(71.8% 0.168 130.5);
Tailwind
colors: {
  custom: {
    50: '#a8cd76',
    500: '#7fb838',
    950: '#000000',
  },
}
SCSS
$custom: #7fb838;
$custom-light: #a8cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb838",
  "rgb": {
    "r": 127,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 86.719,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.16761,
    "h": 130.5
  },
  "luminance": 0.39079
}

Semantic roles & 50–950 ramp

primary
#7FB838
secondary
#A285C7
accent
#4BDD8C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB838

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

Preview Lab → · Contrast checker → · Palette generator →

#7FB838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva