#7FA824#7FA824

#7FA824 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.159 H 126.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA824
RGBrgb(127, 168, 36)
HSLhsl(79, 65%, 40%)
HSVhsv(79, 79%, 66%)
CMYKcmyk(24.4%, 0%, 78.6%, 34.1%)
CIE-LABlab(63.87, -32.37, 58.54)
CIE-LCHlch(63.87, 66.89, 118.94°)
OKLaboklab(67.76% -0.0938 0.129)
OKLCHoklch(67.76% 0.159 126)
XYZxyz(23.0736, 32.6443, 6.7541)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA824 #4D24A8
analogous
#A88F24 #7FA824 #3DA824
triadic
#7FA824 #247FA8 #A8247F
tetradic
#7FA824 #24A88F #4D24A8 #A8243D
square
#7FA824 #24A88F #4D24A8 #A8243D
split-complementary
#7FA824 #243DA8 #8F24A8
monochromatic
#33430E #597619 #7FA824 #A3D435 #BADF68

Accessibility & contrast

On white

2.79
#7FA824 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7FA824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA824
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA824#FFFFFF#000000##000000
##7FA8241.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#85A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa824;
/* rgb */ color: rgb(127, 168, 36);
/* oklch */ color: oklch(67.8% 0.159 126.0);
Tailwind
colors: {
  custom: {
    50: '#a8c26a',
    500: '#7fa824',
    950: '#000000',
  },
}
SCSS
$custom: #7fa824;
$custom-light: #a8c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa824",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 78.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.15946,
    "h": 126
  },
  "luminance": 0.32645
}

Semantic roles & 50–950 ramp

primary
#7FA824
secondary
#8263C4
accent
#40E874
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA824

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

Preview Lab → · Contrast checker → · Palette generator →

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