#7FAB37#7FAB37

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

Color values

HEX#7FAB37
RGBrgb(127, 171, 55)
HSLhsl(83, 51%, 44%)
HSVhsv(83, 68%, 67%)
CMYKcmyk(25.7%, 0%, 67.8%, 32.9%)
CIE-LABlab(64.89, -32.63, 52.69)
CIE-LCHlch(64.89, 61.98, 121.77°)
OKLaboklab(68.63% -0.093 0.1196)
OKLCHoklch(68.63% 0.152 127.9)
XYZxyz(24.0049, 33.9132, 8.8949)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB37 #6337AB
analogous
#AB9D37 #7FAB37 #45AB37
triadic
#7FAB37 #377FAB #AB377F
tetradic
#7FAB37 #37AB9D #6337AB #AB3745
square
#7FAB37 #37AB9D #6337AB #AB3745
split-complementary
#7FAB37 #3745AB #9D37AB
monochromatic
#3A4E19 #5D7D28 #7FAB37 #9DC956 #B8D885

Accessibility & contrast

On white

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

On black

7.78
#7FAB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAB37
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAB37#FFFFFF#000000##000000
##7FAB371.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#AD9D40
Tritanopia (blue-blind)
#83A394
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab37;
/* rgb */ color: rgb(127, 171, 55);
/* oklch */ color: oklch(68.6% 0.152 127.9);
Tailwind
colors: {
  custom: {
    50: '#a7c474',
    500: '#7fab37',
    950: '#000000',
  },
}
SCSS
$custom: #7fab37;
$custom-light: #a7c474;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab37",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 82.759,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.15151,
    "h": 127.9
  },
  "luminance": 0.33914
}

Semantic roles & 50–950 ramp

primary
#7FAB37
secondary
#977CC1
accent
#4DDB83
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAB37

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

Preview Lab → · Contrast checker → · Palette generator →

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