#7FAB38#7FAB38

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

Color values

HEX#7FAB38
RGBrgb(127, 171, 56)
HSLhsl(83, 51%, 45%)
HSVhsv(83, 67%, 67%)
CMYKcmyk(25.7%, 0%, 67.3%, 32.9%)
CIE-LABlab(64.90, -32.56, 52.29)
CIE-LCHlch(64.90, 61.60, 121.91°)
OKLaboklab(68.64% -0.0927 0.1189)
OKLCHoklch(68.64% 0.151 127.9)
XYZxyz(24.0291, 33.9229, 9.0224)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB38 #6438AB
analogous
#AB9E38 #7FAB38 #45AB38
triadic
#7FAB38 #387FAB #AB387F
tetradic
#7FAB38 #38AB9E #6438AB #AB3845
square
#7FAB38 #38AB9E #6438AB #AB3845
split-complementary
#7FAB38 #3845AB #9E38AB
monochromatic
#3B4F1A #5D7D29 #7FAB38 #9DC858 #B8D786

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAB38#FFFFFF#000000##000000
##7FAB381.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)
#B39F28
Deuteranopia (green-blind)
#AD9D41
Tritanopia (blue-blind)
#83A394
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab38;
/* rgb */ color: rgb(127, 171, 56);
/* oklch */ color: oklch(68.6% 0.151 127.9);
Tailwind
colors: {
  custom: {
    50: '#a7c475',
    500: '#7fab38',
    950: '#000000',
  },
}
SCSS
$custom: #7fab38;
$custom-light: #a7c475;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab38",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 82.957,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68635,
    "c": 0.15078,
    "h": 127.9
  },
  "luminance": 0.33923
}

Semantic roles & 50–950 ramp

primary
#7FAB38
secondary
#977DC1
accent
#4EDA83
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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