#7FAC38#7FAC38

#7FAC38 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.9% C 0.152 H 128.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7FAC38
RGBrgb(127, 172, 56)
HSLhsl(83, 51%, 45%)
HSVhsv(83, 67%, 67%)
CMYKcmyk(26.2%, 0%, 67.4%, 32.5%)
CIE-LABlab(65.20, -33.02, 52.61)
CIE-LCHlch(65.20, 62.11, 122.12°)
OKLaboklab(68.88% -0.094 0.1196)
OKLCHoklch(68.88% 0.152 128.2)
XYZxyz(24.2187, 34.3021, 9.0856)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC38 #6538AC
analogous
#AC9F38 #7FAC38 #45AC38
triadic
#7FAC38 #387FAC #AC387F
tetradic
#7FAC38 #38AC9F #6538AC #AC3845
square
#7FAC38 #38AC9F #6538AC #AC3845
split-complementary
#7FAC38 #3845AC #9F38AC
monochromatic
#3B501A #5D7E29 #7FAC38 #9DC958 #B8D887

Accessibility & contrast

On white

2.67
#7FAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#7FAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC38
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC38#FFFFFF#000000##000000
##7FAC381.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A028
Deuteranopia (green-blind)
#AE9D41
Tritanopia (blue-blind)
#83A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac38;
/* rgb */ color: rgb(127, 172, 56);
/* oklch */ color: oklch(68.9% 0.152 128.2);
Tailwind
colors: {
  custom: {
    50: '#a7c575',
    500: '#7fac38',
    950: '#000000',
  },
}
SCSS
$custom: #7fac38;
$custom-light: #a7c575;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac38",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 83.276,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68879,
    "c": 0.15208,
    "h": 128.2
  },
  "luminance": 0.34303
}

Semantic roles & 50–950 ramp

primary
#7FAC38
secondary
#987EC2
accent
#4DDA84
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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