#7F9E1E#7F9E1E

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

Color values

HEX#7F9E1E
RGBrgb(127, 158, 30)
HSLhsl(75, 68%, 37%)
HSVhsv(75, 81%, 62%)
CMYKcmyk(19.6%, 0%, 81%, 38%)
CIE-LABlab(60.83, -27.89, 57.57)
CIE-LCHlch(60.83, 63.97, 115.85°)
OKLaboklab(65.29% -0.082 0.1259)
OKLCHoklch(65.29% 0.15 123.1)
XYZxyz(21.2139, 29.0594, 5.7195)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9E1E #3D1E9E
analogous
#9E7D1E #7F9E1E #3F9E1E
triadic
#7F9E1E #1E7F9E #9E1E7F
tetradic
#7F9E1E #1E9E7D #3D1E9E #9E1E3F
square
#7F9E1E #1E9E7D #3D1E9E #9E1E3F
split-complementary
#7F9E1E #1E3F9E #7D1E9E
monochromatic
#2C370A #566B14 #7F9E1E #A8D128 #BEDF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9E1E#FFFFFF#000000##000000
##7F9E1E1.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)
#A4932C
Tritanopia (blue-blind)
#869687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f9e1e;
/* rgb */ color: rgb(127, 158, 30);
/* oklch */ color: oklch(65.3% 0.150 123.1);
Tailwind
colors: {
  custom: {
    50: '#a8ba66',
    500: '#7f9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f9e1e;
$custom-light: #a8ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9e1e",
  "rgb": {
    "r": 127,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 74.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6529,
    "c": 0.15026,
    "h": 123.1
  },
  "luminance": 0.29059
}

Semantic roles & 50–950 ramp

primary
#7F9E1E
secondary
#7055C3
accent
#3DEB67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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