#7FAB34#7FAB34

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

Color values

HEX#7FAB34
RGBrgb(127, 171, 52)
HSLhsl(82, 53%, 44%)
HSVhsv(82, 70%, 67%)
CMYKcmyk(25.7%, 0%, 69.6%, 32.9%)
CIE-LABlab(64.87, -32.84, 53.86)
CIE-LCHlch(64.87, 63.09, 121.37°)
OKLaboklab(68.6% -0.0938 0.1217)
OKLCHoklch(68.6% 0.154 127.6)
XYZxyz(23.9351, 33.8853, 8.5276)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB34 #6034AB
analogous
#AB9B34 #7FAB34 #43AB34
triadic
#7FAB34 #347FAB #AB347F
tetradic
#7FAB34 #34AB9B #6034AB #AB3443
square
#7FAB34 #34AB9B #6034AB #AB3443
split-complementary
#7FAB34 #3443AB #9B34AB
monochromatic
#394D17 #5C7C26 #7FAB34 #9ECA52 #B8D981

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAB34#FFFFFF#000000##000000
##7FAB341.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)
#B49F22
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#84A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab34;
/* rgb */ color: rgb(127, 171, 52);
/* oklch */ color: oklch(68.6% 0.154 127.6);
Tailwind
colors: {
  custom: {
    50: '#a8c472',
    500: '#7fab34',
    950: '#000000',
  },
}
SCSS
$custom: #7fab34;
$custom-light: #a8c472;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab34",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 82.185,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68601,
    "c": 0.15362,
    "h": 127.6
  },
  "luminance": 0.33886
}

Semantic roles & 50–950 ramp

primary
#7FAB34
secondary
#9479C2
accent
#4BDD81
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAB34

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

Preview Lab → · Contrast checker → · Palette generator →

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