#7FA730#7FA730

#7FA730 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.6% C 0.151 H 126.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7FA730
RGBrgb(127, 167, 48)
HSLhsl(80, 55%, 42%)
HSVhsv(80, 71%, 65%)
CMYKcmyk(24%, 0%, 71.3%, 34.5%)
CIE-LABlab(63.64, -31.23, 54.16)
CIE-LCHlch(63.64, 62.52, 119.97°)
OKLaboklab(67.6% -0.0897 0.1217)
OKLCHoklch(67.6% 0.151 126.4)
XYZxyz(23.1047, 32.3625, 7.8251)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA730 #5830A7
analogous
#A79430 #7FA730 #44A730
triadic
#7FA730 #307FA7 #A7307F
tetradic
#7FA730 #30A794 #5830A7 #A73044
square
#7FA730 #30A794 #5830A7 #A73044
split-complementary
#7FA730 #3044A7 #9430A7
monochromatic
#374815 #5B7722 #7FA730 #9FCB49 #B8D879

Accessibility & contrast

On white

2.81
#7FA730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7FA730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA730
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA730#FFFFFF#000000##000000
##7FA7301.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1C
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#849F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa730;
/* rgb */ color: rgb(127, 167, 48);
/* oklch */ color: oklch(67.6% 0.151 126.4);
Tailwind
colors: {
  custom: {
    50: '#a8c170',
    500: '#7fa730',
    950: '#000000',
  },
}
SCSS
$custom: #7fa730;
$custom-light: #a8c170;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa730",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 80.168,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67595,
    "c": 0.15119,
    "h": 126.4
  },
  "luminance": 0.32363
}

Semantic roles & 50–950 ramp

primary
#7FA730
secondary
#8C72C1
accent
#49DF7B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA730

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

Preview Lab → · Contrast checker → · Palette generator →

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