#7FB742#7FB742

#7FB742 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.7% C 0.159 H 131.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7FB742
RGBrgb(127, 183, 66)
HSLhsl(89, 47%, 49%)
HSVhsv(89, 64%, 72%)
CMYKcmyk(30.6%, 0%, 63.9%, 28.2%)
CIE-LABlab(68.59, -37.26, 52.04)
CIE-LCHlch(68.59, 64.00, 125.60°)
OKLaboklab(71.65% -0.1047 0.1197)
OKLCHoklch(71.65% 0.159 131.2)
XYZxyz(26.6690, 38.7715, 11.2317)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB742 #7A42B7
analogous
#B7B542 #7FB742 #45B742
triadic
#7FB742 #427FB7 #B7427F
tetradic
#7FB742 #42B7B5 #7A42B7 #B74245
square
#7FB742 #42B7B5 #7A42B7 #B74245
split-complementary
#7FB742 #4245B7 #B542B7
monochromatic
#415D22 #608A32 #7FB742 #9DCA6C #BBDA99

Accessibility & contrast

On white

2.40
#7FB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#7FB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB742
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB742#FFFFFF#000000##000000
##7FB7421.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#81B09F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fb742;
/* rgb */ color: rgb(127, 183, 66);
/* oklch */ color: oklch(71.7% 0.159 131.2);
Tailwind
colors: {
  custom: {
    50: '#a8cd7c',
    500: '#7fb742',
    950: '#000000',
  },
}
SCSS
$custom: #7fb742;
$custom-light: #a8cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb742",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 88.718,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71653,
    "c": 0.15906,
    "h": 131.2
  },
  "luminance": 0.38772
}

Semantic roles & 50–950 ramp

primary
#7FB742
secondary
#A98FC6
accent
#51D791
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB742

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

Preview Lab → · Contrast checker → · Palette generator →

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