#7FAF34#7FAF34

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

Color values

HEX#7FAF34
RGBrgb(127, 175, 52)
HSLhsl(83, 54%, 45%)
HSVhsv(83, 70%, 69%)
CMYKcmyk(27.4%, 0%, 70.3%, 31.4%)
CIE-LABlab(66.07, -34.68, 55.09)
CIE-LCHlch(66.07, 65.10, 122.19°)
OKLaboklab(69.58% -0.0989 0.1242)
OKLCHoklch(69.58% 0.159 128.5)
XYZxyz(24.7022, 35.4193, 8.7833)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF34 #6434AF
analogous
#AFA234 #7FAF34 #41AF34
triadic
#7FAF34 #347FAF #AF347F
tetradic
#7FAF34 #34AFA2 #6434AF #AF3441
square
#7FAF34 #34AFA2 #6434AF #AF3441
split-complementary
#7FAF34 #3441AF #A234AF
monochromatic
#3B5118 #5D8026 #7FAF34 #9DCC54 #B8DA83

Accessibility & contrast

On white

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

On black

8.08
#7FAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF34
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF34#FFFFFF#000000##000000
##7FAF341.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7faf34;
/* rgb */ color: rgb(127, 175, 52);
/* oklch */ color: oklch(69.6% 0.159 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c773',
    500: '#7faf34',
    950: '#000000',
  },
}
SCSS
$custom: #7faf34;
$custom-light: #a8c773;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf34",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 83.415,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.15877,
    "h": 128.5
  },
  "luminance": 0.3542
}

Semantic roles & 50–950 ramp

primary
#7FAF34
secondary
#977BC4
accent
#4ADE84
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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