#7FA928#7FA928

#7FA928 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.159 H 126.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA928
RGBrgb(127, 169, 40)
HSLhsl(80, 62%, 41%)
HSVhsv(80, 76%, 66%)
CMYKcmyk(24.9%, 0%, 76.3%, 33.7%)
CIE-LABlab(64.19, -32.63, 57.55)
CIE-LCHlch(64.19, 66.16, 119.55°)
OKLaboklab(68.03% -0.0942 0.1275)
OKLCHoklch(68.03% 0.159 126.5)
XYZxyz(23.3235, 33.0408, 7.1558)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA928 #5228A9
analogous
#A99228 #7FA928 #3EA928
triadic
#7FA928 #287FA9 #A9287F
tetradic
#7FA928 #28A992 #5228A9 #A9283E
square
#7FA928 #28A992 #5228A9 #A9283E
split-complementary
#7FA928 #283EA9 #9228A9
monochromatic
#354611 #5A781C #7FA928 #A1D13D #B9DD6F

Accessibility & contrast

On white

2.76
#7FA928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7FA928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA928
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA928#FFFFFF#000000##000000
##7FA9281.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D08
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa928;
/* rgb */ color: rgb(127, 169, 40);
/* oklch */ color: oklch(68.0% 0.159 126.5);
Tailwind
colors: {
  custom: {
    50: '#a8c26c',
    500: '#7fa928',
    950: '#000000',
  },
}
SCSS
$custom: #7fa928;
$custom-light: #a8c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa928",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 79.535,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.15856,
    "h": 126.5
  },
  "luminance": 0.33041
}

Semantic roles & 50–950 ramp

primary
#7FA928
secondary
#8769C4
accent
#43E578
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA928

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

Preview Lab → · Contrast checker → · Palette generator →

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