#7FAF36#7FAF36

#7FAF36 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.157 H 128.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7FAF36
RGBrgb(127, 175, 54)
HSLhsl(84, 53%, 45%)
HSVhsv(84, 69%, 69%)
CMYKcmyk(27.4%, 0%, 69.1%, 31.4%)
CIE-LABlab(66.09, -34.55, 54.33)
CIE-LCHlch(66.09, 64.38, 122.45°)
OKLaboklab(69.59% -0.0983 0.1229)
OKLCHoklch(69.59% 0.157 128.7)
XYZxyz(24.7482, 35.4377, 9.0256)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF36 #6636AF
analogous
#AFA336 #7FAF36 #42AF36
triadic
#7FAF36 #367FAF #AF367F
tetradic
#7FAF36 #36AFA3 #6636AF #AF3642
square
#7FAF36 #36AFA3 #6636AF #AF3642
split-complementary
#7FAF36 #3642AF #A336AF
monochromatic
#3B5119 #5D8028 #7FAF36 #9DCB57 #B8DA86

Accessibility & contrast

On white

2.60
#7FAF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#7FAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF36
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF36#FFFFFF#000000##000000
##7FAF361.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A324
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#83A797
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf36;
/* rgb */ color: rgb(127, 175, 54);
/* oklch */ color: oklch(69.6% 0.157 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c774',
    500: '#7faf36',
    950: '#000000',
  },
}
SCSS
$custom: #7faf36;
$custom-light: #a8c774;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf36",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 83.802,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.1574,
    "h": 128.7
  },
  "luminance": 0.35438
}

Semantic roles & 50–950 ramp

primary
#7FAF36
secondary
#997DC3
accent
#4CDC85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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