#7FAB30#7FAB30

#7FAB30 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.6% C 0.156 H 127.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7FAB30
RGBrgb(127, 171, 48)
HSLhsl(81, 56%, 43%)
HSVhsv(81, 72%, 67%)
CMYKcmyk(25.7%, 0%, 71.9%, 32.9%)
CIE-LABlab(64.84, -33.10, 55.36)
CIE-LCHlch(64.84, 64.51, 120.87°)
OKLaboklab(68.57% -0.0949 0.1242)
OKLCHoklch(68.57% 0.156 127.4)
XYZxyz(23.8488, 33.8508, 8.0731)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB30 #5C30AB
analogous
#AB9930 #7FAB30 #42AB30
triadic
#7FAB30 #307FAB #AB307F
tetradic
#7FAB30 #30AB99 #5C30AB #AB3042
square
#7FAB30 #30AB99 #5C30AB #AB3042
split-complementary
#7FAB30 #3042AB #9930AB
monochromatic
#384B15 #5C7B23 #7FAB30 #9ECD4C #B8DA7B

Accessibility & contrast

On white

2.70
#7FAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7FAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAB30
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAB30#FFFFFF#000000##000000
##7FAB301.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#AE9C3B
Tritanopia (blue-blind)
#84A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab30;
/* rgb */ color: rgb(127, 171, 48);
/* oklch */ color: oklch(68.6% 0.156 127.4);
Tailwind
colors: {
  custom: {
    50: '#a8c470',
    500: '#7fab30',
    950: '#000000',
  },
}
SCSS
$custom: #7fab30;
$custom-light: #a8c470;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab30",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 81.463,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.15628,
    "h": 127.4
  },
  "luminance": 0.33851
}

Semantic roles & 50–950 ramp

primary
#7FAB30
secondary
#9074C3
accent
#48DF7E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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