#7FAC30#7FAC30

#7FAC30 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.8% C 0.158 H 127.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7FAC30
RGBrgb(127, 172, 48)
HSLhsl(82, 56%, 43%)
HSVhsv(82, 72%, 67%)
CMYKcmyk(26.2%, 0%, 72.1%, 32.5%)
CIE-LABlab(65.14, -33.56, 55.66)
CIE-LCHlch(65.14, 65.00, 121.09°)
OKLaboklab(68.81% -0.0961 0.1248)
OKLCHoklch(68.81% 0.158 127.6)
XYZxyz(24.0384, 34.2300, 8.1363)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC30 #5D30AC
analogous
#AC9B30 #7FAC30 #41AC30
triadic
#7FAC30 #307FAC #AC307F
tetradic
#7FAC30 #30AC9B #5D30AC #AC3041
square
#7FAC30 #30AC9B #5D30AC #AC3041
split-complementary
#7FAC30 #3041AC #9B30AC
monochromatic
#384C15 #5C7C23 #7FAC30 #9ECD4C #B8DA7C

Accessibility & contrast

On white

2.68
#7FAC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#7FAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC30
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC30#FFFFFF#000000##000000
##7FAC301.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01A
Deuteranopia (green-blind)
#AF9D3B
Tritanopia (blue-blind)
#84A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac30;
/* rgb */ color: rgb(127, 172, 48);
/* oklch */ color: oklch(68.8% 0.158 127.6);
Tailwind
colors: {
  custom: {
    50: '#a8c570',
    500: '#7fac30',
    950: '#000000',
  },
}
SCSS
$custom: #7fac30;
$custom-light: #a8c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac30",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 81.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68814,
    "c": 0.15755,
    "h": 127.6
  },
  "luminance": 0.3423
}

Semantic roles & 50–950 ramp

primary
#7FAC30
secondary
#9175C3
accent
#48E07F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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