#7FAF25#7FAF25

#7FAF25 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.167 H 127.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7FAF25
RGBrgb(127, 175, 37)
HSLhsl(81, 65%, 42%)
HSVhsv(81, 79%, 69%)
CMYKcmyk(27.4%, 0%, 78.9%, 31.4%)
CIE-LABlab(65.99, -35.54, 60.19)
CIE-LCHlch(65.99, 69.90, 120.56°)
OKLaboklab(69.48% -0.1023 0.1326)
OKLCHoklch(69.48% 0.167 127.7)
XYZxyz(24.4164, 35.3050, 7.2781)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF25 #5525AF
analogous
#AF9A25 #7FAF25 #3AAF25
triadic
#7FAF25 #257FAF #AF257F
tetradic
#7FAF25 #25AF9A #5525AF #AF253A
square
#7FAF25 #25AF9A #5525AF #AF253A
split-complementary
#7FAF25 #253AAF #9A25AF
monochromatic
#364A10 #5A7C1A #7FAF25 #A0D63C #B9E06E

Accessibility & contrast

On white

2.61
#7FAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7FAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF25
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF25#FFFFFF#000000##000000
##7FAF251.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B29F34
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf25;
/* rgb */ color: rgb(127, 175, 37);
/* oklch */ color: oklch(69.5% 0.167 127.7);
Tailwind
colors: {
  custom: {
    50: '#a8c76c',
    500: '#7faf25',
    950: '#000000',
  },
}
SCSS
$custom: #7faf25;
$custom-light: #a8c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf25",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 80.87,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.16749,
    "h": 127.7
  },
  "luminance": 0.35306
}

Semantic roles & 50–950 ramp

primary
#7FAF25
secondary
#8A69C7
accent
#40E87A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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