#7FAF37#7FAF37

#7FAF37 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#7FAF37
RGBrgb(127, 175, 55)
HSLhsl(84, 52%, 45%)
HSVhsv(84, 69%, 69%)
CMYKcmyk(27.4%, 0%, 68.6%, 31.4%)
CIE-LABlab(66.10, -34.48, 53.94)
CIE-LCHlch(66.10, 64.02, 122.59°)
OKLaboklab(69.6% -0.098 0.1223)
OKLCHoklch(69.6% 0.157 128.7)
XYZxyz(24.7719, 35.4472, 9.1505)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF37 #6737AF
analogous
#AFA337 #7FAF37 #43AF37
triadic
#7FAF37 #377FAF #AF377F
tetradic
#7FAF37 #37AFA3 #6737AF #AF3743
square
#7FAF37 #37AFA3 #6737AF #AF3743
split-complementary
#7FAF37 #3743AF #A337AF
monochromatic
#3B521A #5D8028 #7FAF37 #9DCB59 #B8D987

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAF37#FFFFFF#000000##000000
##7FAF371.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)
#B7A325
Deuteranopia (green-blind)
#B1A041
Tritanopia (blue-blind)
#83A797
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf37;
/* rgb */ color: rgb(127, 175, 55);
/* oklch */ color: oklch(69.6% 0.157 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c775',
    500: '#7faf37',
    950: '#000000',
  },
}
SCSS
$custom: #7faf37;
$custom-light: #a8c775;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf37",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 84,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69602,
    "c": 0.15671,
    "h": 128.7
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

primary
#7FAF37
secondary
#9A7FC3
accent
#4CDC86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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