#7FA629#7FA629

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

Color values

HEX#7FA629
RGBrgb(127, 166, 41)
HSLhsl(79, 60%, 41%)
HSVhsv(79, 75%, 65%)
CMYKcmyk(23.5%, 0%, 75.3%, 34.9%)
CIE-LABlab(63.30, -31.17, 56.36)
CIE-LCHlch(63.30, 64.41, 118.95°)
OKLaboklab(67.3% -0.0902 0.1252)
OKLCHoklch(67.3% 0.154 125.8)
XYZxyz(22.7890, 31.9442, 7.0626)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA629 #5029A6
analogous
#A68E29 #7FA629 #40A629
triadic
#7FA629 #297FA6 #A6297F
tetradic
#7FA629 #29A68E #5029A6 #A62940
square
#7FA629 #29A68E #5029A6 #A62940
split-complementary
#7FA629 #2940A6 #8E29A6
monochromatic
#344411 #59751D #7FA629 #A2CF3D #B9DB6E

Accessibility & contrast

On white

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

On black

7.39
#7FA629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA629
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA629#FFFFFF#000000##000000
##7FA6291.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa629;
/* rgb */ color: rgb(127, 166, 41);
/* oklch */ color: oklch(67.3% 0.154 125.8);
Tailwind
colors: {
  custom: {
    50: '#a8c06c',
    500: '#7fa629',
    950: '#000000',
  },
}
SCSS
$custom: #7fa629;
$custom-light: #a8c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa629",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 41
  },
  "hsl": {
    "h": 78.72,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.15427,
    "h": 125.8
  },
  "luminance": 0.31945
}

Semantic roles & 50–950 ramp

primary
#7FA629
secondary
#8569C2
accent
#44E476
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA629

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

Preview Lab → · Contrast checker → · Palette generator →

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