#7FA429#7FA429

#7FA429 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#7FA429
RGBrgb(127, 164, 41)
HSLhsl(78, 60%, 40%)
HSVhsv(78, 75%, 64%)
CMYKcmyk(22.6%, 0%, 75%, 35.7%)
CIE-LABlab(62.70, -30.23, 55.78)
CIE-LCHlch(62.70, 63.45, 118.45°)
OKLaboklab(66.81% -0.0876 0.124)
OKLCHoklch(66.81% 0.152 125.2)
XYZxyz(22.4283, 31.2228, 6.9424)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA429 #4E29A4
analogous
#A48C29 #7FA429 #41A429
triadic
#7FA429 #297FA4 #A4297F
tetradic
#7FA429 #29A48C #4E29A4 #A42941
square
#7FA429 #29A48C #4E29A4 #A42941
split-complementary
#7FA429 #2941A4 #8C29A4
monochromatic
#334211 #59731D #7FA429 #A2CE3C #BADA6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA429#FFFFFF#000000##000000
##7FA4291.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)
#AD990F
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#859C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa429;
/* rgb */ color: rgb(127, 164, 41);
/* oklch */ color: oklch(66.8% 0.152 125.2);
Tailwind
colors: {
  custom: {
    50: '#a8bf6c',
    500: '#7fa429',
    950: '#000000',
  },
}
SCSS
$custom: #7fa429;
$custom-light: #a8bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa429",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 78.049,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.15179,
    "h": 125.2
  },
  "luminance": 0.31223
}

Semantic roles & 50–950 ramp

primary
#7FA429
secondary
#8368C1
accent
#45E374
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA429

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

Preview Lab → · Contrast checker → · Palette generator →

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