#7F9E1A#7F9E1A

#7F9E1A is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.152 H 123.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7F9E1A
RGBrgb(127, 158, 26)
HSLhsl(74, 72%, 36%)
HSVhsv(74, 84%, 62%)
CMYKcmyk(19.6%, 0%, 83.5%, 38%)
CIE-LABlab(60.82, -28.04, 58.66)
CIE-LCHlch(60.82, 65.02, 115.55°)
OKLaboklab(65.27% -0.0827 0.1276)
OKLCHoklch(65.27% 0.152 123)
XYZxyz(21.1660, 29.0402, 5.4673)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9E1A #391A9E
analogous
#9E7B1A #7F9E1A #3D9E1A
triadic
#7F9E1A #1A7F9E #9E1A7F
tetradic
#7F9E1A #1A9E7B #391A9E #9E1A3D
square
#7F9E1A #1A9E7B #391A9E #9E1A3D
split-complementary
#7F9E1A #1A3D9E #7B1A9E
monochromatic
#2B3509 #556911 #7F9E1A #A9D323 #C0E250

Accessibility & contrast

On white

3.08
#7F9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7F9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9E1A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9E1A#FFFFFF#000000##000000
##7F9E1A1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A49329
Tritanopia (blue-blind)
#869687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f9e1a;
/* rgb */ color: rgb(127, 158, 26);
/* oklch */ color: oklch(65.3% 0.152 123.0);
Tailwind
colors: {
  custom: {
    50: '#a8ba65',
    500: '#7f9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7f9e1a;
$custom-light: #a8ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9e1a",
  "rgb": {
    "r": 127,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 74.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.15203,
    "h": 123
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#7F9E1A
secondary
#6B4FC5
accent
#39EE64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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