#7FA727#7FA727

#7FA727 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.157 H 125.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA727
RGBrgb(127, 167, 39)
HSLhsl(79, 62%, 40%)
HSVhsv(79, 77%, 65%)
CMYKcmyk(24%, 0%, 76.6%, 34.5%)
CIE-LABlab(63.59, -31.75, 57.31)
CIE-LCHlch(63.59, 65.52, 118.99°)
OKLaboklab(67.53% -0.0919 0.1269)
OKLCHoklch(67.53% 0.157 125.9)
XYZxyz(22.9375, 32.2956, 6.9443)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA727 #4F27A7
analogous
#A78F27 #7FA727 #3FA727
triadic
#7FA727 #277FA7 #A7277F
tetradic
#7FA727 #27A78F #4F27A7 #A7273F
square
#7FA727 #27A78F #4F27A7 #A7273F
split-complementary
#7FA727 #273FA7 #8F27A7
monochromatic
#344410 #59751B #7FA727 #A2D13A #B9DD6C

Accessibility & contrast

On white

2.82
#7FA727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA727
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA727#FFFFFF#000000##000000
##7FA7271.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C06
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa727;
/* rgb */ color: rgb(127, 167, 39);
/* oklch */ color: oklch(67.5% 0.157 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c16b',
    500: '#7fa727',
    950: '#000000',
  },
}
SCSS
$custom: #7fa727;
$custom-light: #a8c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa727",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 78.75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.15664,
    "h": 125.9
  },
  "luminance": 0.32296
}

Semantic roles & 50–950 ramp

primary
#7FA727
secondary
#8467C3
accent
#43E575
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA727

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

Preview Lab → · Contrast checker → · Palette generator →

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