#7FA428#7FA428

#7FA428 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.8% C 0.152 H 125.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7FA428
RGBrgb(127, 164, 40)
HSLhsl(78, 61%, 40%)
HSVhsv(78, 76%, 64%)
CMYKcmyk(22.6%, 0%, 75.6%, 35.7%)
CIE-LABlab(62.69, -30.28, 56.12)
CIE-LCHlch(62.69, 63.77, 118.35°)
OKLaboklab(66.81% -0.0878 0.1245)
OKLCHoklch(66.81% 0.152 125.2)
XYZxyz(22.4110, 31.2159, 6.8516)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA428 #4D28A4
analogous
#A48B28 #7FA428 #41A428
triadic
#7FA428 #287FA4 #A4287F
tetradic
#7FA428 #28A48B #4D28A4 #A42841
square
#7FA428 #28A48B #4D28A4 #A42841
split-complementary
#7FA428 #2841A4 #8B28A4
monochromatic
#334210 #59731C #7FA428 #A3CF3A #BADB6B

Accessibility & contrast

On white

2.90
#7FA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7FA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA428
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA428#FFFFFF#000000##000000
##7FA4281.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990C
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#859C8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa428;
/* rgb */ color: rgb(127, 164, 40);
/* oklch */ color: oklch(66.8% 0.152 125.2);
Tailwind
colors: {
  custom: {
    50: '#a8bf6c',
    500: '#7fa428',
    950: '#000000',
  },
}
SCSS
$custom: #7fa428;
$custom-light: #a8bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa428",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 77.903,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.15236,
    "h": 125.2
  },
  "luminance": 0.31216
}

Semantic roles & 50–950 ramp

primary
#7FA428
secondary
#8266C1
accent
#44E474
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA428

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

Preview Lab → · Contrast checker → · Palette generator →

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