#7FAF3E#7FAF3E

#7FAF3E is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.7% C 0.152 H 129.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7FAF3E
RGBrgb(127, 175, 62)
HSLhsl(85, 48%, 46%)
HSVhsv(85, 65%, 69%)
CMYKcmyk(27.4%, 0%, 64.6%, 31.4%)
CIE-LABlab(66.15, -33.95, 51.11)
CIE-LCHlch(66.15, 61.36, 123.59°)
OKLaboklab(69.66% -0.096 0.1173)
OKLCHoklch(69.66% 0.152 129.3)
XYZxyz(24.9517, 35.5191, 10.0978)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF3E #6E3EAF
analogous
#AFA73E #7FAF3E #47AF3E
triadic
#7FAF3E #3E7FAF #AF3E7F
tetradic
#7FAF3E #3EAFA7 #6E3EAF #AF3E47
square
#7FAF3E #3EAFA7 #6E3EAF #AF3E47
split-complementary
#7FAF3E #3E47AF #A73EAF
monochromatic
#3D551E #5E822E #7FAF3E #9DC863 #B9D890

Accessibility & contrast

On white

2.59
#7FAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#7FAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF3E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF3E#FFFFFF#000000##000000
##7FAF3E1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A330
Deuteranopia (green-blind)
#B0A047
Tritanopia (blue-blind)
#82A898
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf3e;
/* rgb */ color: rgb(127, 175, 62);
/* oklch */ color: oklch(69.7% 0.152 129.3);
Tailwind
colors: {
  custom: {
    50: '#a7c779',
    500: '#7faf3e',
    950: '#000000',
  },
}
SCSS
$custom: #7faf3e;
$custom-light: #a7c779;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf3e",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 85.487,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69664,
    "c": 0.15152,
    "h": 129.3
  },
  "luminance": 0.3552
}

Semantic roles & 50–950 ramp

primary
#7FAF3E
secondary
#A086C3
accent
#51D78A
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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