#7FA226#7FA226

#7FA226 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.151 H 124.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7FA226
RGBrgb(127, 162, 38)
HSLhsl(77, 62%, 39%)
HSVhsv(77, 77%, 64%)
CMYKcmyk(21.6%, 0%, 76.5%, 36.5%)
CIE-LABlab(62.08, -29.44, 56.22)
CIE-LCHlch(62.08, 63.46, 117.64°)
OKLaboklab(66.31% -0.0857 0.1244)
OKLCHoklch(66.31% 0.151 124.6)
XYZxyz(22.0228, 30.4924, 6.5587)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA226 #4926A2
analogous
#A28726 #7FA226 #41A226
triadic
#7FA226 #267FA2 #A2267F
tetradic
#7FA226 #26A287 #4926A2 #A22641
square
#7FA226 #26A287 #4926A2 #A22641
split-complementary
#7FA226 #2641A2 #8726A2
monochromatic
#313F0F #58701A #7FA226 #A4D035 #BBDB67

Accessibility & contrast

On white

2.96
#7FA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7FA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA226
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA226#FFFFFF#000000##000000
##7FA2261.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9707
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa226;
/* rgb */ color: rgb(127, 162, 38);
/* oklch */ color: oklch(66.3% 0.151 124.6);
Tailwind
colors: {
  custom: {
    50: '#a8bd6a',
    500: '#7fa226',
    950: '#000000',
  },
}
SCSS
$custom: #7fa226;
$custom-light: #a8bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa226",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 76.935,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66308,
    "c": 0.15102,
    "h": 124.6
  },
  "luminance": 0.30493
}

Semantic roles & 50–950 ramp

primary
#7FA226
secondary
#7D63C1
accent
#43E571
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA226

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

Preview Lab → · Contrast checker → · Palette generator →

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