#7FA930#7FA930

#7FA930 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.154 H 126.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA930
RGBrgb(127, 169, 48)
HSLhsl(81, 56%, 43%)
HSVhsv(81, 72%, 66%)
CMYKcmyk(24.9%, 0%, 71.6%, 33.7%)
CIE-LABlab(64.24, -32.17, 54.76)
CIE-LCHlch(64.24, 63.51, 120.43°)
OKLaboklab(68.08% -0.0923 0.1229)
OKLCHoklch(68.08% 0.154 126.9)
XYZxyz(23.4739, 33.1009, 7.9481)
Luminance0.3310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA930 #5A30A9
analogous
#A99630 #7FA930 #43A930
triadic
#7FA930 #307FA9 #A9307F
tetradic
#7FA930 #30A996 #5A30A9 #A93043
square
#7FA930 #30A996 #5A30A9 #A93043
split-complementary
#7FA930 #3043A9 #9630A9
monochromatic
#374A15 #5B7922 #7FA930 #9FCC4A #B8D97A

Accessibility & contrast

On white

2.76
#7FA930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7FA930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA930
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA930#FFFFFF#000000##000000
##7FA9301.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1B
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa930;
/* rgb */ color: rgb(127, 169, 48);
/* oklch */ color: oklch(68.1% 0.154 126.9);
Tailwind
colors: {
  custom: {
    50: '#a8c270',
    500: '#7fa930',
    950: '#000000',
  },
}
SCSS
$custom: #7fa930;
$custom-light: #a8c270;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa930",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 80.826,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68082,
    "c": 0.15374,
    "h": 126.9
  },
  "luminance": 0.33101
}

Semantic roles & 50–950 ramp

primary
#7FA930
secondary
#8E73C2
accent
#49DF7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA930

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

Preview Lab → · Contrast checker → · Palette generator →

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