#7FA728#7FA728

#7FA728 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.156 H 126.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA728
RGBrgb(127, 167, 40)
HSLhsl(79, 61%, 41%)
HSVhsv(79, 76%, 65%)
CMYKcmyk(24%, 0%, 76%, 34.5%)
CIE-LABlab(63.59, -31.70, 56.98)
CIE-LCHlch(63.59, 65.21, 119.09°)
OKLaboklab(67.54% -0.0917 0.1263)
OKLCHoklch(67.54% 0.156 126)
XYZxyz(22.9543, 32.3023, 7.0327)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA728 #5028A7
analogous
#A79028 #7FA728 #3FA728
triadic
#7FA728 #287FA7 #A7287F
tetradic
#7FA728 #28A790 #5028A7 #A7283F
square
#7FA728 #28A790 #5028A7 #A7283F
split-complementary
#7FA728 #283FA7 #9028A7
monochromatic
#344410 #59761C #7FA728 #A2D03C #B9DC6D

Accessibility & contrast

On white

2.81
#7FA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA728
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA728#FFFFFF#000000##000000
##7FA7281.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0A
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa728;
/* rgb */ color: rgb(127, 167, 40);
/* oklch */ color: oklch(67.5% 0.156 126.0);
Tailwind
colors: {
  custom: {
    50: '#a8c16c',
    500: '#7fa728',
    950: '#000000',
  },
}
SCSS
$custom: #7fa728;
$custom-light: #a8c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa728",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 78.898,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67539,
    "c": 0.15609,
    "h": 126
  },
  "luminance": 0.32303
}

Semantic roles & 50–950 ramp

primary
#7FA728
secondary
#8568C3
accent
#43E476
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA728

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

Preview Lab → · Contrast checker → · Palette generator →

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