#7FAB32#7FAB32

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

Color values

HEX#7FAB32
RGBrgb(127, 171, 50)
HSLhsl(82, 55%, 43%)
HSVhsv(82, 71%, 67%)
CMYKcmyk(25.7%, 0%, 70.8%, 32.9%)
CIE-LABlab(64.86, -32.97, 54.62)
CIE-LCHlch(64.86, 63.80, 121.12°)
OKLaboklab(68.58% -0.0943 0.123)
OKLCHoklch(68.58% 0.155 127.5)
XYZxyz(23.8911, 33.8677, 8.2954)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB32 #5E32AB
analogous
#AB9A32 #7FAB32 #42AB32
triadic
#7FAB32 #327FAB #AB327F
tetradic
#7FAB32 #32AB9A #5E32AB #AB3242
square
#7FAB32 #32AB9A #5E32AB #AB3242
split-complementary
#7FAB32 #3242AB #9A32AB
monochromatic
#394C16 #5C7C24 #7FAB32 #9ECB4F #B8D97E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAB32#FFFFFF#000000##000000
##7FAB321.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)
#B49F1E
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#84A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab32;
/* rgb */ color: rgb(127, 171, 50);
/* oklch */ color: oklch(68.6% 0.155 127.5);
Tailwind
colors: {
  custom: {
    50: '#a8c471',
    500: '#7fab32',
    950: '#000000',
  },
}
SCSS
$custom: #7fab32;
$custom-light: #a8c471;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab32",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 81.818,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.15497,
    "h": 127.5
  },
  "luminance": 0.33868
}

Semantic roles & 50–950 ramp

primary
#7FAB32
secondary
#9277C2
accent
#4ADE80
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAB32

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

Preview Lab → · Contrast checker → · Palette generator →

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