#7FA63F#7FA63F

#7FA63F is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.5% C 0.139 H 127.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7FA63F
RGBrgb(127, 166, 63)
HSLhsl(83, 45%, 45%)
HSVhsv(83, 62%, 65%)
CMYKcmyk(23.5%, 0%, 62%, 34.9%)
CIE-LABlab(63.46, -29.64, 47.74)
CIE-LCHlch(63.46, 56.19, 121.83°)
OKLaboklab(67.49% -0.084 0.1102)
OKLCHoklch(67.49% 0.139 127.3)
XYZxyz(23.2858, 32.1429, 9.6791)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA63F #663FA6
analogous
#A6993F #7FA63F #4CA63F
triadic
#7FA63F #3F7FA6 #A63F7F
tetradic
#7FA63F #3FA699 #663FA6 #A63F4C
square
#7FA63F #3FA699 #663FA6 #A63F4C
split-complementary
#7FA63F #3F4CA6 #993FA6
monochromatic
#3B4D1D #5D7A2E #7FA63F #9DC360 #B8D38C

Accessibility & contrast

On white

2.83
#7FA63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7FA63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA63F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA63F#FFFFFF#000000##000000
##7FA63F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B33
Deuteranopia (green-blind)
#A99946
Tritanopia (blue-blind)
#839F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa63f;
/* rgb */ color: rgb(127, 166, 63);
/* oklch */ color: oklch(67.5% 0.139 127.3);
Tailwind
colors: {
  custom: {
    50: '#a7c078',
    500: '#7fa63f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa63f;
$custom-light: #a7c078;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa63f",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 82.718,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67487,
    "c": 0.13861,
    "h": 127.3
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

primary
#7FA63F
secondary
#9983BE
accent
#53D584
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA63F

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

Preview Lab → · Contrast checker → · Palette generator →

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