#7FA427#7FA427

#7FA427 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.8% C 0.153 H 125.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7FA427
RGBrgb(127, 164, 39)
HSLhsl(78, 62%, 40%)
HSVhsv(78, 76%, 64%)
CMYKcmyk(22.6%, 0%, 76.2%, 35.7%)
CIE-LABlab(62.68, -30.34, 56.46)
CIE-LCHlch(62.68, 64.09, 118.25°)
OKLaboklab(66.8% -0.088 0.1251)
OKLCHoklch(66.8% 0.153 125.1)
XYZxyz(22.3942, 31.2092, 6.7632)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA427 #4C27A4
analogous
#A48B27 #7FA427 #41A427
triadic
#7FA427 #277FA4 #A4277F
tetradic
#7FA427 #27A48B #4C27A4 #A42741
square
#7FA427 #27A48B #4C27A4 #A42741
split-complementary
#7FA427 #2741A4 #8B27A4
monochromatic
#32410F #59731B #7FA427 #A3D038 #BADC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA427#FFFFFF#000000##000000
##7FA4271.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)
#AD9909
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#859C8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa427;
/* rgb */ color: rgb(127, 164, 39);
/* oklch */ color: oklch(66.8% 0.153 125.1);
Tailwind
colors: {
  custom: {
    50: '#a8bf6b',
    500: '#7fa427',
    950: '#000000',
  },
}
SCSS
$custom: #7fa427;
$custom-light: #a8bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa427",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 77.76,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.15293,
    "h": 125.1
  },
  "luminance": 0.31209
}

Semantic roles & 50–950 ramp

primary
#7FA427
secondary
#8065C2
accent
#43E573
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA427

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

Preview Lab → · Contrast checker → · Palette generator →

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