#7FA033#7FA033

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

Color values

HEX#7FA033
RGBrgb(127, 160, 51)
HSLhsl(78, 52%, 41%)
HSVhsv(78, 68%, 63%)
CMYKcmyk(20.6%, 0%, 68.1%, 37.3%)
CIE-LABlab(61.56, -27.69, 50.85)
CIE-LCHlch(61.56, 57.90, 118.57°)
OKLaboklab(65.92% -0.0797 0.1152)
OKLCHoklch(65.92% 0.14 124.7)
XYZxyz(21.9209, 29.8924, 7.7463)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA033 #5433A0
analogous
#A08B33 #7FA033 #49A033
triadic
#7FA033 #337FA0 #A0337F
tetradic
#7FA033 #33A08B #5433A0 #A03349
square
#7FA033 #33A08B #5433A0 #A03349
split-complementary
#7FA033 #3349A0 #8B33A0
monochromatic
#354315 #5A7224 #7FA033 #A0C64B #B9D479

Accessibility & contrast

On white

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

On black

6.98
#7FA033 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA033
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA033#FFFFFF#000000##000000
##7FA0331.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa033;
/* rgb */ color: rgb(127, 160, 51);
/* oklch */ color: oklch(65.9% 0.140 124.7);
Tailwind
colors: {
  custom: {
    50: '#a7bc71',
    500: '#7fa033',
    950: '#000000',
  },
}
SCSS
$custom: #7fa033;
$custom-light: #a7bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa033",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 78.165,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65918,
    "c": 0.1401,
    "h": 124.7
  },
  "luminance": 0.29893
}

Semantic roles & 50–950 ramp

primary
#7FA033
secondary
#8972BD
accent
#4DDB78
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA033

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

Preview Lab → · Contrast checker → · Palette generator →

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