#7FA830#7FA830

#7FA830 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.152 H 126.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7FA830
RGBrgb(127, 168, 48)
HSLhsl(81, 56%, 42%)
HSVhsv(81, 71%, 66%)
CMYKcmyk(24.4%, 0%, 71.4%, 34.1%)
CIE-LABlab(63.94, -31.70, 54.46)
CIE-LCHlch(63.94, 63.02, 120.20°)
OKLaboklab(67.84% -0.091 0.1223)
OKLCHoklch(67.84% 0.152 126.7)
XYZxyz(23.2886, 32.7303, 7.8864)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA830 #5930A8
analogous
#A89530 #7FA830 #43A830
triadic
#7FA830 #307FA8 #A8307F
tetradic
#7FA830 #30A895 #5930A8 #A83043
square
#7FA830 #30A895 #5930A8 #A83043
split-complementary
#7FA830 #3043A8 #9530A8
monochromatic
#374915 #5B7822 #7FA830 #9FCB4A #B8D97A

Accessibility & contrast

On white

2.78
#7FA830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7FA830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA830
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA830#FFFFFF#000000##000000
##7FA8301.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1C
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa830;
/* rgb */ color: rgb(127, 168, 48);
/* oklch */ color: oklch(67.8% 0.152 126.7);
Tailwind
colors: {
  custom: {
    50: '#a8c270',
    500: '#7fa830',
    950: '#000000',
  },
}
SCSS
$custom: #7fa830;
$custom-light: #a8c270;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa830",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 80.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67839,
    "c": 0.15247,
    "h": 126.7
  },
  "luminance": 0.32731
}

Semantic roles & 50–950 ramp

primary
#7FA830
secondary
#8D73C1
accent
#49DF7C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA830

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

Preview Lab → · Contrast checker → · Palette generator →

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