#7FA630#7FA630

#7FA630 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.4% C 0.150 H 126.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7FA630
RGBrgb(127, 166, 48)
HSLhsl(80, 55%, 42%)
HSVhsv(80, 71%, 65%)
CMYKcmyk(23.5%, 0%, 71.1%, 34.9%)
CIE-LABlab(63.34, -30.76, 53.86)
CIE-LCHlch(63.34, 62.02, 119.73°)
OKLaboklab(67.35% -0.0884 0.1211)
OKLCHoklch(67.35% 0.15 126.2)
XYZxyz(22.9222, 31.9975, 7.7642)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA630 #5730A6
analogous
#A69230 #7FA630 #44A630
triadic
#7FA630 #307FA6 #A6307F
tetradic
#7FA630 #30A692 #5730A6 #A63044
square
#7FA630 #30A692 #5730A6 #A63044
split-complementary
#7FA630 #3044A6 #9230A6
monochromatic
#364715 #5B7722 #7FA630 #A0CA49 #B8D878

Accessibility & contrast

On white

2.84
#7FA630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#7FA630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA630
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA630#FFFFFF#000000##000000
##7FA6301.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa630;
/* rgb */ color: rgb(127, 166, 48);
/* oklch */ color: oklch(67.4% 0.150 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7c070',
    500: '#7fa630',
    950: '#000000',
  },
}
SCSS
$custom: #7fa630;
$custom-light: #a7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa630",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 79.831,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67352,
    "c": 0.14992,
    "h": 126.2
  },
  "luminance": 0.31998
}

Semantic roles & 50–950 ramp

primary
#7FA630
secondary
#8C71C0
accent
#49DE7B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA630

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

Preview Lab → · Contrast checker → · Palette generator →

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