#7FA529#7FA529

#7FA529 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.153 H 125.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7FA529
RGBrgb(127, 165, 41)
HSLhsl(78, 60%, 40%)
HSVhsv(78, 75%, 65%)
CMYKcmyk(23%, 0%, 75.2%, 35.3%)
CIE-LABlab(63.00, -30.70, 56.07)
CIE-LCHlch(63.00, 63.93, 118.70°)
OKLaboklab(67.06% -0.0889 0.1246)
OKLCHoklch(67.06% 0.153 125.5)
XYZxyz(22.6079, 31.5821, 7.0023)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA529 #4F29A5
analogous
#A58D29 #7FA529 #41A529
triadic
#7FA529 #297FA5 #A5297F
tetradic
#7FA529 #29A58D #4F29A5 #A52941
square
#7FA529 #29A58D #4F29A5 #A52941
split-complementary
#7FA529 #2941A5 #8D29A5
monochromatic
#344311 #59741D #7FA529 #A2CF3D #B9DB6E

Accessibility & contrast

On white

2.87
#7FA529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7FA529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA529
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA529#FFFFFF#000000##000000
##7FA5291.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0E
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#859D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa529;
/* rgb */ color: rgb(127, 165, 41);
/* oklch */ color: oklch(67.1% 0.153 125.5);
Tailwind
colors: {
  custom: {
    50: '#a8bf6c',
    500: '#7fa529',
    950: '#000000',
  },
}
SCSS
$custom: #7fa529;
$custom-light: #a8bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa529",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 78.387,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.15303,
    "h": 125.5
  },
  "luminance": 0.31582
}

Semantic roles & 50–950 ramp

primary
#7FA529
secondary
#8468C2
accent
#44E375
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA529

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

Preview Lab → · Contrast checker → · Palette generator →

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