#7FA03A#7FA03A

#7FA03A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.0% C 0.135 H 125.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7FA03A
RGBrgb(127, 160, 58)
HSLhsl(79, 47%, 43%)
HSVhsv(79, 64%, 63%)
CMYKcmyk(20.6%, 0%, 63.8%, 37.3%)
CIE-LABlab(61.62, -27.16, 47.94)
CIE-LCHlch(61.62, 55.10, 119.54°)
OKLaboklab(65.98% -0.0776 0.11)
OKLCHoklch(65.98% 0.135 125.2)
XYZxyz(22.0870, 29.9589, 8.6212)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA03A #5B3AA0
analogous
#A08E3A #7FA03A #4CA03A
triadic
#7FA03A #3A7FA0 #A03A7F
tetradic
#7FA03A #3AA08E #5B3AA0 #A03A4C
square
#7FA03A #3AA08E #5B3AA0 #A03A4C
split-complementary
#7FA03A #3A4CA0 #8E3AA0
monochromatic
#384619 #5B732A #7FA03A #9FC256 #B8D283

Accessibility & contrast

On white

3.00
#7FA03A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7FA03A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA03A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA03A#FFFFFF#000000##000000
##7FA03A1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962D
Deuteranopia (green-blind)
#A49441
Tritanopia (blue-blind)
#84998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa03a;
/* rgb */ color: rgb(127, 160, 58);
/* oklch */ color: oklch(66.0% 0.135 125.2);
Tailwind
colors: {
  custom: {
    50: '#a7bc75',
    500: '#7fa03a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa03a;
$custom-light: #a7bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa03a",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 58
  },
  "hsl": {
    "h": 79.412,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.13467,
    "h": 125.2
  },
  "luminance": 0.29959
}

Semantic roles & 50–950 ramp

primary
#7FA03A
secondary
#8F7ABC
accent
#51D67C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA03A

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

Preview Lab → · Contrast checker → · Palette generator →

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