#7FA330#7FA330

#7FA330 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.146 H 125.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7FA330
RGBrgb(127, 163, 48)
HSLhsl(79, 55%, 41%)
HSVhsv(79, 71%, 64%)
CMYKcmyk(22.1%, 0%, 70.6%, 36.1%)
CIE-LABlab(62.44, -29.33, 52.95)
CIE-LCHlch(62.44, 60.53, 118.99°)
OKLaboklab(66.62% -0.0845 0.1191)
OKLCHoklch(66.62% 0.146 125.4)
XYZxyz(22.3832, 30.9195, 7.5846)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA330 #5430A3
analogous
#A38E30 #7FA330 #46A330
triadic
#7FA330 #307FA3 #A3307F
tetradic
#7FA330 #30A38E #5430A3 #A33046
square
#7FA330 #30A38E #5430A3 #A33046
split-complementary
#7FA330 #3046A3 #8E30A3
monochromatic
#354414 #5A7422 #7FA330 #A0C947 #B9D777

Accessibility & contrast

On white

2.92
#7FA330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7FA330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA330
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA330#FFFFFF#000000##000000
##7FA3301.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981E
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa330;
/* rgb */ color: rgb(127, 163, 48);
/* oklch */ color: oklch(66.6% 0.146 125.4);
Tailwind
colors: {
  custom: {
    50: '#a7be6f',
    500: '#7fa330',
    950: '#000000',
  },
}
SCSS
$custom: #7fa330;
$custom-light: #a7be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa330",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 78.783,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66622,
    "c": 0.14609,
    "h": 125.4
  },
  "luminance": 0.3092
}

Semantic roles & 50–950 ramp

primary
#7FA330
secondary
#8970BF
accent
#4ADE78
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA330

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

Preview Lab → · Contrast checker → · Palette generator →

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