#7FA01E#7FA01E

#7FA01E is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.8% C 0.153 H 123.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7FA01E
RGBrgb(127, 160, 30)
HSLhsl(75, 68%, 37%)
HSVhsv(75, 81%, 63%)
CMYKcmyk(20.6%, 0%, 81.3%, 37.3%)
CIE-LABlab(61.44, -28.85, 58.11)
CIE-LCHlch(61.44, 64.88, 116.40°)
OKLaboklab(65.78% -0.0847 0.127)
OKLCHoklch(65.78% 0.153 123.7)
XYZxyz(21.5578, 29.7472, 5.8341)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA01E #3F1EA0
analogous
#A0801E #7FA01E #3EA01E
triadic
#7FA01E #1E7FA0 #A01E7F
tetradic
#7FA01E #1EA080 #3F1EA0 #A01E3E
square
#7FA01E #1EA080 #3F1EA0 #A01E3E
split-complementary
#7FA01E #1E3EA0 #801EA0
monochromatic
#2D390B #566C14 #7FA01E #A8D428 #BDE059

Accessibility & contrast

On white

3.02
#7FA01E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7FA01E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA01E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA01E#FFFFFF#000000##000000
##7FA01E1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#869888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa01e;
/* rgb */ color: rgb(127, 160, 30);
/* oklch */ color: oklch(65.8% 0.153 123.7);
Tailwind
colors: {
  custom: {
    50: '#a8bc67',
    500: '#7fa01e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa01e;
$custom-light: #a8bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa01e",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 75.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65776,
    "c": 0.15266,
    "h": 123.7
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#7FA01E
secondary
#7256C4
accent
#3DEB69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA01E

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

Preview Lab → · Contrast checker → · Palette generator →

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