#7FB442#7FB442

#7FB442 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.9% C 0.155 H 130.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7FB442
RGBrgb(127, 180, 66)
HSLhsl(88, 46%, 48%)
HSVhsv(88, 63%, 71%)
CMYKcmyk(29.4%, 0%, 63.3%, 29.4%)
CIE-LABlab(67.69, -35.90, 51.06)
CIE-LCHlch(67.69, 62.42, 125.11°)
OKLaboklab(70.92% -0.101 0.1176)
OKLCHoklch(70.92% 0.155 130.7)
XYZxyz(26.0568, 37.5471, 11.0277)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB442 #7742B4
analogous
#B4B042 #7FB442 #46B442
triadic
#7FB442 #427FB4 #B4427F
tetradic
#7FB442 #42B4B0 #7742B4 #B44246
square
#7FB442 #42B4B0 #7742B4 #B44246
split-complementary
#7FB442 #4246B4 #B042B4
monochromatic
#405A21 #5F8732 #7FB442 #9DC96B #BBD997

Accessibility & contrast

On white

2.47
#7FB442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7FB442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB442
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB442#FFFFFF#000000##000000
##7FB4421.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA734
Deuteranopia (green-blind)
#B4A44B
Tritanopia (blue-blind)
#82AD9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb442;
/* rgb */ color: rgb(127, 180, 66);
/* oklch */ color: oklch(70.9% 0.155 130.7);
Tailwind
colors: {
  custom: {
    50: '#a7ca7b',
    500: '#7fb442',
    950: '#000000',
  },
}
SCSS
$custom: #7fb442;
$custom-light: #a7ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb442",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 87.895,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70922,
    "c": 0.15505,
    "h": 130.7
  },
  "luminance": 0.37548
}

Semantic roles & 50–950 ramp

primary
#7FB442
secondary
#A78DC5
accent
#52D68F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB442

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

Preview Lab → · Contrast checker → · Palette generator →

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