#7FA938#7FA938

#7FA938 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.1% C 0.148 H 127.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7FA938
RGBrgb(127, 169, 56)
HSLhsl(82, 50%, 44%)
HSVhsv(82, 67%, 66%)
CMYKcmyk(24.9%, 0%, 66.9%, 33.7%)
CIE-LABlab(64.30, -31.62, 51.66)
CIE-LCHlch(64.30, 60.57, 121.47°)
OKLaboklab(68.15% -0.0901 0.1176)
OKLCHoklch(68.15% 0.148 127.5)
XYZxyz(23.6542, 33.1730, 8.8974)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA938 #6238A9
analogous
#A99B38 #7FA938 #47A938
triadic
#7FA938 #387FA9 #A9387F
tetradic
#7FA938 #38A99B #6238A9 #A93847
square
#7FA938 #38A99B #6238A9 #A93847
split-complementary
#7FA938 #3847A9 #9B38A9
monochromatic
#3A4D1A #5C7B29 #7FA938 #9EC757 #B8D785

Accessibility & contrast

On white

2.75
#7FA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7FA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA938
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA938#FFFFFF#000000##000000
##7FA9381.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E28
Deuteranopia (green-blind)
#AC9B41
Tritanopia (blue-blind)
#84A192
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa938;
/* rgb */ color: rgb(127, 169, 56);
/* oklch */ color: oklch(68.1% 0.148 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c275',
    500: '#7fa938',
    950: '#000000',
  },
}
SCSS
$custom: #7fa938;
$custom-light: #a7c275;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa938",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 82.301,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68148,
    "c": 0.14815,
    "h": 127.5
  },
  "luminance": 0.33173
}

Semantic roles & 50–950 ramp

primary
#7FA938
secondary
#967CC0
accent
#4EDA82
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA938

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

Preview Lab → · Contrast checker → · Palette generator →

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