#7FAF4B#7FAF4B

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

Color values

HEX#7FAF4B
RGBrgb(127, 175, 75)
HSLhsl(89, 40%, 49%)
HSVhsv(89, 57%, 69%)
CMYKcmyk(27.4%, 0%, 57.1%, 31.4%)
CIE-LABlab(66.27, -32.77, 45.42)
CIE-LCHlch(66.27, 56.01, 125.82°)
OKLaboklab(69.8% -0.0916 0.1066)
OKLCHoklch(69.8% 0.141 130.7)
XYZxyz(25.3521, 35.6793, 12.2063)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF4B #7B4BAF
analogous
#AFAD4B #7FAF4B #4DAF4B
triadic
#7FAF4B #4B7FAF #AF4B7F
tetradic
#7FAF4B #4BAFAD #7B4BAF #AF4B4D
square
#7FAF4B #4BAFAD #7B4BAF #AF4B4D
split-complementary
#7FAF4B #4B4DAF #AD4BAF
monochromatic
#415926 #608439 #7FAF4B #9DC374 #BBD69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAF4B#FFFFFF#000000##000000
##7FAF4B1.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)
#B6A341
Deuteranopia (green-blind)
#AFA052
Tritanopia (blue-blind)
#81A899
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf4b;
/* rgb */ color: rgb(127, 175, 75);
/* oklch */ color: oklch(69.8% 0.141 130.7);
Tailwind
colors: {
  custom: {
    50: '#a7c780',
    500: '#7faf4b',
    950: '#000000',
  },
}
SCSS
$custom: #7faf4b;
$custom-light: #a7c780;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf4b",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 88.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69804,
    "c": 0.14055,
    "h": 130.7
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

primary
#7FAF4B
secondary
#AA93C2
accent
#58D092
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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