#7FA624#7FA624

#7FA624 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.157 H 125.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA624
RGBrgb(127, 166, 36)
HSLhsl(78, 64%, 40%)
HSVhsv(78, 78%, 65%)
CMYKcmyk(23.5%, 0%, 78.3%, 34.9%)
CIE-LABlab(63.27, -31.43, 57.98)
CIE-LCHlch(63.27, 65.95, 118.46°)
OKLaboklab(67.27% -0.0912 0.1278)
OKLCHoklch(67.27% 0.157 125.5)
XYZxyz(22.7072, 31.9115, 6.6319)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA624 #4B24A6
analogous
#A68C24 #7FA624 #3EA624
triadic
#7FA624 #247FA6 #A6247F
tetradic
#7FA624 #24A68C #4B24A6 #A6243E
square
#7FA624 #24A68C #4B24A6 #A6243E
split-complementary
#7FA624 #243EA6 #8C24A6
monochromatic
#32410E #597419 #7FA624 #A3D334 #BADE66

Accessibility & contrast

On white

2.84
#7FA624 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7FA624 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA624
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA624#FFFFFF#000000##000000
##7FA6241.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#AA9931
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa624;
/* rgb */ color: rgb(127, 166, 36);
/* oklch */ color: oklch(67.3% 0.157 125.5);
Tailwind
colors: {
  custom: {
    50: '#a8c06a',
    500: '#7fa624',
    950: '#000000',
  },
}
SCSS
$custom: #7fa624;
$custom-light: #a8c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa624",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 36
  },
  "hsl": {
    "h": 78,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67271,
    "c": 0.15701,
    "h": 125.5
  },
  "luminance": 0.31912
}

Semantic roles & 50–950 ramp

primary
#7FA624
secondary
#7F62C4
accent
#40E773
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA624

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

Preview Lab → · Contrast checker → · Palette generator →

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