#7FA626#7FA626

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

Color values

HEX#7FA626
RGBrgb(127, 166, 38)
HSLhsl(78, 63%, 40%)
HSVhsv(78, 77%, 65%)
CMYKcmyk(23.5%, 0%, 77.1%, 34.9%)
CIE-LABlab(63.28, -31.33, 57.35)
CIE-LCHlch(63.28, 65.35, 118.65°)
OKLaboklab(67.28% -0.0908 0.1268)
OKLCHoklch(67.28% 0.156 125.6)
XYZxyz(22.7386, 31.9241, 6.7973)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA626 #4D26A6
analogous
#A68D26 #7FA626 #3FA626
triadic
#7FA626 #267FA6 #A6267F
tetradic
#7FA626 #26A68D #4D26A6 #A6263F
square
#7FA626 #26A68D #4D26A6 #A6263F
split-complementary
#7FA626 #263FA6 #8D26A6
monochromatic
#33420F #59741B #7FA626 #A3D138 #BADD6A

Accessibility & contrast

On white

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

On black

7.38
#7FA626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA626
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA626#FFFFFF#000000##000000
##7FA6261.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa626;
/* rgb */ color: rgb(127, 166, 38);
/* oklch */ color: oklch(67.3% 0.156 125.6);
Tailwind
colors: {
  custom: {
    50: '#a8c06b',
    500: '#7fa626',
    950: '#000000',
  },
}
SCSS
$custom: #7fa626;
$custom-light: #a8c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa626",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 78.281,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.15595,
    "h": 125.6
  },
  "luminance": 0.31924
}

Semantic roles & 50–950 ramp

primary
#7FA626
secondary
#8265C3
accent
#42E674
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA626

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

Preview Lab → · Contrast checker → · Palette generator →

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