#7FAF3C#7FAF3C

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

Color values

HEX#7FAF3C
RGBrgb(127, 175, 60)
HSLhsl(85, 49%, 46%)
HSVhsv(85, 66%, 69%)
CMYKcmyk(27.4%, 0%, 65.7%, 31.4%)
CIE-LABlab(66.13, -34.10, 51.94)
CIE-LCHlch(66.13, 62.13, 123.29°)
OKLaboklab(69.65% -0.0966 0.1187)
OKLCHoklch(69.65% 0.153 129.1)
XYZxyz(24.8979, 35.4976, 9.8140)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF3C #6C3CAF
analogous
#AFA53C #7FAF3C #46AF3C
triadic
#7FAF3C #3C7FAF #AF3C7F
tetradic
#7FAF3C #3CAFA5 #6C3CAF #AF3C46
square
#7FAF3C #3CAFA5 #6C3CAF #AF3C46
split-complementary
#7FAF3C #3C46AF #A53CAF
monochromatic
#3D541D #5E812C #7FAF3C #9DC860 #B9D88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAF3C#FFFFFF#000000##000000
##7FAF3C1.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)
#B7A32D
Deuteranopia (green-blind)
#B0A045
Tritanopia (blue-blind)
#83A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf3c;
/* rgb */ color: rgb(127, 175, 60);
/* oklch */ color: oklch(69.6% 0.153 129.1);
Tailwind
colors: {
  custom: {
    50: '#a7c777',
    500: '#7faf3c',
    950: '#000000',
  },
}
SCSS
$custom: #7faf3c;
$custom-light: #a7c777;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf3c",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 85.043,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.15305,
    "h": 129.1
  },
  "luminance": 0.35498
}

Semantic roles & 50–950 ramp

primary
#7FAF3C
secondary
#9E84C3
accent
#4FD889
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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