#7FAF2E#7FAF2E

#7FAF2E is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.5% C 0.163 H 128.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7FAF2E
RGBrgb(127, 175, 46)
HSLhsl(82, 58%, 43%)
HSVhsv(82, 74%, 69%)
CMYKcmyk(27.4%, 0%, 73.7%, 31.4%)
CIE-LABlab(66.03, -35.06, 57.27)
CIE-LCHlch(66.03, 67.15, 121.48°)
OKLaboklab(69.53% -0.1004 0.1279)
OKLCHoklch(69.53% 0.163 128.1)
XYZxyz(24.5755, 35.3687, 8.1163)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF2E #5E2EAF
analogous
#AF9E2E #7FAF2E #3EAF2E
triadic
#7FAF2E #2E7FAF #AF2E7F
tetradic
#7FAF2E #2EAF9E #5E2EAF #AF2E3E
square
#7FAF2E #2EAF9E #5E2EAF #AF2E3E
split-complementary
#7FAF2E #2E3EAF #9E2EAF
monochromatic
#394E15 #5C7F21 #7FAF2E #9ED04B #B8DC7B

Accessibility & contrast

On white

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

On black

8.07
#7FAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF2E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF2E#FFFFFF#000000##000000
##7FAF2E1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A315
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#83A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf2e;
/* rgb */ color: rgb(127, 175, 46);
/* oklch */ color: oklch(69.5% 0.163 128.1);
Tailwind
colors: {
  custom: {
    50: '#a8c770',
    500: '#7faf2e',
    950: '#000000',
  },
}
SCSS
$custom: #7faf2e;
$custom-light: #a8c770;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf2e",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 82.326,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69533,
    "c": 0.16257,
    "h": 128.1
  },
  "luminance": 0.35369
}

Semantic roles & 50–950 ramp

primary
#7FAF2E
secondary
#9274C5
accent
#46E280
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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