#7FA63C#7FA63C

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

Color values

HEX#7FA63C
RGBrgb(127, 166, 60)
HSLhsl(82, 47%, 44%)
HSVhsv(82, 64%, 65%)
CMYKcmyk(23.5%, 0%, 63.9%, 34.9%)
CIE-LABlab(63.43, -29.89, 49.04)
CIE-LCHlch(63.43, 57.43, 121.36°)
OKLaboklab(67.46% -0.085 0.1126)
OKLCHoklch(67.46% 0.141 127)
XYZxyz(23.2042, 32.1103, 9.2495)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA63C #633CA6
analogous
#A6983C #7FA63C #4AA63C
triadic
#7FA63C #3C7FA6 #A63C7F
tetradic
#7FA63C #3CA698 #633CA6 #A63C4A
square
#7FA63C #3CA698 #633CA6 #A63C4A
split-complementary
#7FA63C #3C4AA6 #983CA6
monochromatic
#3A4C1C #5D792C #7FA63C #9DC45B #B8D488

Accessibility & contrast

On white

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

On black

7.42
#7FA63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA63C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA63C#FFFFFF#000000##000000
##7FA63C1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2F
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#849F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa63c;
/* rgb */ color: rgb(127, 166, 60);
/* oklch */ color: oklch(67.5% 0.141 127.0);
Tailwind
colors: {
  custom: {
    50: '#a7c077',
    500: '#7fa63c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa63c;
$custom-light: #a7c077;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa63c",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 60
  },
  "hsl": {
    "h": 82.075,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.14107,
    "h": 127
  },
  "luminance": 0.32111
}

Semantic roles & 50–950 ramp

primary
#7FA63C
secondary
#977FBE
accent
#51D782
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA63C

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

Preview Lab → · Contrast checker → · Palette generator →

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