#7FAF4E#7FAF4E

#7FAF4E is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.8% C 0.138 H 131.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7FAF4E
RGBrgb(127, 175, 78)
HSLhsl(90, 38%, 50%)
HSVhsv(90, 55%, 69%)
CMYKcmyk(27.4%, 0%, 55.4%, 31.4%)
CIE-LABlab(66.31, -32.47, 44.04)
CIE-LCHlch(66.31, 54.71, 126.40°)
OKLaboklab(69.84% -0.0905 0.1039)
OKLCHoklch(69.84% 0.138 131.1)
XYZxyz(25.4572, 35.7213, 12.7599)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF4E #7E4EAF
analogous
#AFAF4E #7FAF4E #4EAF4E
triadic
#7FAF4E #4E7FAF #AF4E7F
tetradic
#7FAF4E #4EAFAF #7E4EAF #AF4E4E
square
#7FAF4E #4EAFAF #7E4EAF #AF4E4E
split-complementary
#7FAF4E #4E4EAF #AF4EAF
monochromatic
#425A28 #60853B #7FAF4E #9DC378 #BCD6A2

Accessibility & contrast

On white

2.58
#7FAF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#7FAF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF4E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF4E#FFFFFF#000000##000000
##7FAF4E1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A445
Deuteranopia (green-blind)
#AFA054
Tritanopia (blue-blind)
#81A899
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf4e;
/* rgb */ color: rgb(127, 175, 78);
/* oklch */ color: oklch(69.8% 0.138 131.1);
Tailwind
colors: {
  custom: {
    50: '#a7c782',
    500: '#7faf4e',
    950: '#000000',
  },
}
SCSS
$custom: #7faf4e;
$custom-light: #a7c782;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf4e",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 89.691,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69841,
    "c": 0.1378,
    "h": 131.1
  },
  "luminance": 0.35722
}

Semantic roles & 50–950 ramp

primary
#7FAF4E
secondary
#AC96C3
accent
#5ACE93
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FAF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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