#7FA63B#7FA63B

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

Color values

HEX#7FA63B
RGBrgb(127, 166, 59)
HSLhsl(82, 48%, 44%)
HSVhsv(82, 64%, 65%)
CMYKcmyk(23.5%, 0%, 64.5%, 34.9%)
CIE-LABlab(63.43, -29.97, 49.46)
CIE-LCHlch(63.43, 57.83, 121.21°)
OKLaboklab(67.45% -0.0853 0.1134)
OKLCHoklch(67.45% 0.142 127)
XYZxyz(23.1780, 32.0998, 9.1116)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA63B #623BA6
analogous
#A6983B #7FA63B #4AA63B
triadic
#7FA63B #3B7FA6 #A63B7F
tetradic
#7FA63B #3BA698 #623BA6 #A63B4A
square
#7FA63B #3BA698 #623BA6 #A63B4A
split-complementary
#7FA63B #3B4AA6 #983BA6
monochromatic
#3A4C1B #5C792B #7FA63B #9EC45A #B8D487

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA63B#FFFFFF#000000##000000
##7FA63B1.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)
#AE9B2E
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#849F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa63b;
/* rgb */ color: rgb(127, 166, 59);
/* oklch */ color: oklch(67.4% 0.142 127.0);
Tailwind
colors: {
  custom: {
    50: '#a7c076',
    500: '#7fa63b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa63b;
$custom-light: #a7c076;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa63b",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 81.869,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.14187,
    "h": 127
  },
  "luminance": 0.321
}

Semantic roles & 50–950 ramp

primary
#7FA63B
secondary
#967EBF
accent
#51D782
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA63B

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

Preview Lab → · Contrast checker → · Palette generator →

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