#7FA03C#7FA03C

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

Color values

HEX#7FA03C
RGBrgb(127, 160, 60)
HSLhsl(80, 45%, 43%)
HSVhsv(80, 63%, 63%)
CMYKcmyk(20.6%, 0%, 62.5%, 37.3%)
CIE-LABlab(61.64, -27.00, 47.08)
CIE-LCHlch(61.64, 54.27, 119.84°)
OKLaboklab(66% -0.077 0.1085)
OKLCHoklch(66% 0.133 125.4)
XYZxyz(22.1389, 29.9796, 8.8944)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA03C #5D3CA0
analogous
#A08F3C #7FA03C #4DA03C
triadic
#7FA03C #3C7FA0 #A03C7F
tetradic
#7FA03C #3CA08F #5D3CA0 #A03C4D
square
#7FA03C #3CA08F #5D3CA0 #A03C4D
split-complementary
#7FA03C #3C4DA0 #8F3CA0
monochromatic
#38471B #5C732B #7FA03C #9EC159 #B8D185

Accessibility & contrast

On white

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

On black

7.00
#7FA03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA03C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA03C#FFFFFF#000000##000000
##7FA03C1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa03c;
/* rgb */ color: rgb(127, 160, 60);
/* oklch */ color: oklch(66.0% 0.133 125.4);
Tailwind
colors: {
  custom: {
    50: '#a7bc76',
    500: '#7fa03c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa03c;
$custom-light: #a7bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa03c",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 60
  },
  "hsl": {
    "h": 79.8,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66003,
    "c": 0.13301,
    "h": 125.4
  },
  "luminance": 0.2998
}

Semantic roles & 50–950 ramp

primary
#7FA03C
secondary
#917CBB
accent
#53D57E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA03C

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

Preview Lab → · Contrast checker → · Palette generator →

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