#7FAF35#7FAF35

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

Color values

HEX#7FAF35
RGBrgb(127, 175, 53)
HSLhsl(84, 54%, 45%)
HSVhsv(84, 70%, 69%)
CMYKcmyk(27.4%, 0%, 69.7%, 31.4%)
CIE-LABlab(66.08, -34.62, 54.71)
CIE-LCHlch(66.08, 64.74, 122.32°)
OKLaboklab(69.58% -0.0986 0.1236)
OKLCHoklch(69.58% 0.158 128.6)
XYZxyz(24.7249, 35.4284, 8.9032)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF35 #6535AF
analogous
#AFA235 #7FAF35 #42AF35
triadic
#7FAF35 #357FAF #AF357F
tetradic
#7FAF35 #35AFA2 #6535AF #AF3542
square
#7FAF35 #35AFA2 #6535AF #AF3542
split-complementary
#7FAF35 #3542AF #A235AF
monochromatic
#3B5119 #5D8027 #7FAF35 #9DCC56 #B8DA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAF35#FFFFFF#000000##000000
##7FAF351.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)
#B7A322
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#83A797
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf35;
/* rgb */ color: rgb(127, 175, 53);
/* oklch */ color: oklch(69.6% 0.158 128.6);
Tailwind
colors: {
  custom: {
    50: '#a8c773',
    500: '#7faf35',
    950: '#000000',
  },
}
SCSS
$custom: #7faf35;
$custom-light: #a8c773;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf35",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 83.607,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.15809,
    "h": 128.6
  },
  "luminance": 0.35429
}

Semantic roles & 50–950 ramp

primary
#7FAF35
secondary
#987CC4
accent
#4BDD84
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF35

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

Preview Lab → · Contrast checker → · Palette generator →

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