#7FA926#7FA926

#7FA926 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.160 H 126.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA926
RGBrgb(127, 169, 38)
HSLhsl(79, 63%, 41%)
HSVhsv(79, 78%, 66%)
CMYKcmyk(24.9%, 0%, 77.5%, 33.7%)
CIE-LABlab(64.18, -32.73, 58.20)
CIE-LCHlch(64.18, 66.77, 119.36°)
OKLaboklab(68.02% -0.0946 0.1286)
OKLCHoklch(68.02% 0.16 126.4)
XYZxyz(23.2903, 33.0275, 6.9812)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA926 #5026A9
analogous
#A99126 #7FA926 #3DA926
triadic
#7FA926 #267FA9 #A9267F
tetradic
#7FA926 #26A991 #5026A9 #A9263D
square
#7FA926 #26A991 #5026A9 #A9263D
split-complementary
#7FA926 #263DA9 #9126A9
monochromatic
#344510 #59771B #7FA926 #A2D33A #B9DE6C

Accessibility & contrast

On white

2.76
#7FA926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7FA926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA926
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA926#FFFFFF#000000##000000
##7FA9261.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D02
Deuteranopia (green-blind)
#AC9B33
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa926;
/* rgb */ color: rgb(127, 169, 38);
/* oklch */ color: oklch(68.0% 0.160 126.4);
Tailwind
colors: {
  custom: {
    50: '#a8c26b',
    500: '#7fa926',
    950: '#000000',
  },
}
SCSS
$custom: #7fa926;
$custom-light: #a8c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa926",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 79.237,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.15964,
    "h": 126.4
  },
  "luminance": 0.33028
}

Semantic roles & 50–950 ramp

primary
#7FA926
secondary
#8567C4
accent
#41E676
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA926

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

Preview Lab → · Contrast checker → · Palette generator →

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