#7FA829#7FA829

#7FA829 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.157 H 126.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7FA829
RGBrgb(127, 168, 41)
HSLhsl(79, 61%, 41%)
HSVhsv(79, 76%, 66%)
CMYKcmyk(24.4%, 0%, 75.6%, 34.1%)
CIE-LABlab(63.90, -32.11, 56.94)
CIE-LCHlch(63.90, 65.37, 119.42°)
OKLaboklab(67.79% -0.0927 0.1264)
OKLCHoklch(67.79% 0.157 126.3)
XYZxyz(23.1554, 32.6770, 7.1847)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA829 #5229A8
analogous
#A89129 #7FA829 #3FA829
triadic
#7FA829 #297FA8 #A8297F
tetradic
#7FA829 #29A891 #5229A8 #A8293F
square
#7FA829 #29A891 #5229A8 #A8293F
split-complementary
#7FA829 #293FA8 #9129A8
monochromatic
#354611 #5A771D #7FA829 #A1D03E #B9DC6F

Accessibility & contrast

On white

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

On black

7.54
#7FA829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA829
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA829#FFFFFF#000000##000000
##7FA8291.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0C
Deuteranopia (green-blind)
#AC9A35
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa829;
/* rgb */ color: rgb(127, 168, 41);
/* oklch */ color: oklch(67.8% 0.157 126.3);
Tailwind
colors: {
  custom: {
    50: '#a8c26d',
    500: '#7fa829',
    950: '#000000',
  },
}
SCSS
$custom: #7fa829;
$custom-light: #a8c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa829",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 79.37,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6779,
    "c": 0.15676,
    "h": 126.3
  },
  "luminance": 0.32677
}

Semantic roles & 50–950 ramp

primary
#7FA829
secondary
#876AC3
accent
#44E478
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA829

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

Preview Lab → · Contrast checker → · Palette generator →

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