#7FA02F#7FA02F

#7FA02F is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.143 H 124.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7FA02F
RGBrgb(127, 160, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 63%)
CMYKcmyk(20.6%, 0%, 70.6%, 37.3%)
CIE-LABlab(61.53, -27.96, 52.42)
CIE-LCHlch(61.53, 59.41, 118.07°)
OKLaboklab(65.89% -0.0808 0.1179)
OKLCHoklch(65.89% 0.143 124.4)
XYZxyz(21.8365, 29.8587, 7.3017)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA02F #502FA0
analogous
#A0882F #7FA02F #47A02F
triadic
#7FA02F #2F7FA0 #A02F7F
tetradic
#7FA02F #2FA088 #502FA0 #A02F47
square
#7FA02F #2FA088 #502FA0 #A02F47
split-complementary
#7FA02F #2F47A0 #882FA0
monochromatic
#344113 #597121 #7FA02F #A2C844 #B9D673

Accessibility & contrast

On white

3.01
#7FA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7FA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA02F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA02F#FFFFFF#000000##000000
##7FA02F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961D
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#85988A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa02f;
/* rgb */ color: rgb(127, 160, 47);
/* oklch */ color: oklch(65.9% 0.143 124.4);
Tailwind
colors: {
  custom: {
    50: '#a7bc6f',
    500: '#7fa02f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa02f;
$custom-light: #a7bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa02f",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 77.522,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65885,
    "c": 0.14293,
    "h": 124.4
  },
  "luminance": 0.29859
}

Semantic roles & 50–950 ramp

primary
#7FA02F
secondary
#856DBE
accent
#4ADE75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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