#7FA438#7FA438

#7FA438 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.9% C 0.142 H 126.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7FA438
RGBrgb(127, 164, 56)
HSLhsl(81, 49%, 43%)
HSVhsv(81, 66%, 64%)
CMYKcmyk(22.6%, 0%, 65.9%, 35.7%)
CIE-LABlab(62.80, -29.25, 50.07)
CIE-LCHlch(62.80, 57.99, 120.29°)
OKLaboklab(66.93% -0.0836 0.1143)
OKLCHoklch(66.93% 0.142 126.2)
XYZxyz(22.7417, 31.3481, 8.5933)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA438 #5D38A4
analogous
#A49338 #7FA438 #49A438
triadic
#7FA438 #387FA4 #A4387F
tetradic
#7FA438 #38A493 #5D38A4 #A43849
square
#7FA438 #38A493 #5D38A4 #A43849
split-complementary
#7FA438 #3849A4 #9338A4
monochromatic
#384919 #5C7628 #7FA438 #9EC554 #B8D482

Accessibility & contrast

On white

2.89
#7FA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#7FA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA438
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA438#FFFFFF#000000##000000
##7FA4381.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#A79740
Tritanopia (blue-blind)
#849C8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa438;
/* rgb */ color: rgb(127, 164, 56);
/* oklch */ color: oklch(66.9% 0.142 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7bf74',
    500: '#7fa438',
    950: '#000000',
  },
}
SCSS
$custom: #7fa438;
$custom-light: #a7bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa438",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 80.556,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66933,
    "c": 0.14157,
    "h": 126.2
  },
  "luminance": 0.31348
}

Semantic roles & 50–950 ramp

primary
#7FA438
secondary
#917ABE
accent
#4FD97E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA438

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

Preview Lab → · Contrast checker → · Palette generator →

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