#7FAF3D#7FAF3D

#7FAF3D is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.7% C 0.152 H 129.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7FAF3D
RGBrgb(127, 175, 61)
HSLhsl(85, 48%, 46%)
HSVhsv(85, 65%, 69%)
CMYKcmyk(27.4%, 0%, 65.1%, 31.4%)
CIE-LABlab(66.14, -34.03, 51.53)
CIE-LCHlch(66.14, 61.75, 123.44°)
OKLaboklab(69.66% -0.0963 0.118)
OKLCHoklch(69.66% 0.152 129.2)
XYZxyz(24.9246, 35.5083, 9.9546)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF3D #6D3DAF
analogous
#AFA63D #7FAF3D #46AF3D
triadic
#7FAF3D #3D7FAF #AF3D7F
tetradic
#7FAF3D #3DAFA6 #6D3DAF #AF3D46
square
#7FAF3D #3DAFA6 #6D3DAF #AF3D46
split-complementary
#7FAF3D #3D46AF #A63DAF
monochromatic
#3D541D #5E822D #7FAF3D #9DC861 #B9D88F

Accessibility & contrast

On white

2.59
#7FAF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#7FAF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF3D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF3D#FFFFFF#000000##000000
##7FAF3D1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32E
Deuteranopia (green-blind)
#B0A046
Tritanopia (blue-blind)
#83A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf3d;
/* rgb */ color: rgb(127, 175, 61);
/* oklch */ color: oklch(69.7% 0.152 129.2);
Tailwind
colors: {
  custom: {
    50: '#a7c778',
    500: '#7faf3d',
    950: '#000000',
  },
}
SCSS
$custom: #7faf3d;
$custom-light: #a7c778;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf3d",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 85.263,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69655,
    "c": 0.15229,
    "h": 129.2
  },
  "luminance": 0.35509
}

Semantic roles & 50–950 ramp

primary
#7FAF3D
secondary
#9F85C3
accent
#50D889
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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