#7FA627#7FA627

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

Color values

HEX#7FA627
RGBrgb(127, 166, 39)
HSLhsl(78, 62%, 40%)
HSVhsv(78, 77%, 65%)
CMYKcmyk(23.5%, 0%, 76.5%, 34.9%)
CIE-LABlab(63.29, -31.28, 57.03)
CIE-LCHlch(63.29, 65.04, 118.75°)
OKLaboklab(67.29% -0.0906 0.1263)
OKLCHoklch(67.29% 0.155 125.7)
XYZxyz(22.7550, 31.9306, 6.8835)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA627 #4E27A6
analogous
#A68D27 #7FA627 #40A627
triadic
#7FA627 #277FA6 #A6277F
tetradic
#7FA627 #27A68D #4E27A6 #A62740
square
#7FA627 #27A68D #4E27A6 #A62740
split-complementary
#7FA627 #2740A6 #8D27A6
monochromatic
#334310 #59741B #7FA627 #A2D13A #BADC6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA627#FFFFFF#000000##000000
##7FA6271.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)
#AF9B07
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa627;
/* rgb */ color: rgb(127, 166, 39);
/* oklch */ color: oklch(67.3% 0.155 125.7);
Tailwind
colors: {
  custom: {
    50: '#a8c06b',
    500: '#7fa627',
    950: '#000000',
  },
}
SCSS
$custom: #7fa627;
$custom-light: #a8c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa627",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 78.425,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67289,
    "c": 0.15541,
    "h": 125.7
  },
  "luminance": 0.31931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA627

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

Preview Lab → · Contrast checker → · Palette generator →

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