#7FA01A#7FA01A

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

Color values

HEX#7FA01A
RGBrgb(127, 160, 26)
HSLhsl(75, 72%, 36%)
HSVhsv(75, 84%, 63%)
CMYKcmyk(20.6%, 0%, 83.8%, 37.3%)
CIE-LABlab(61.42, -29.00, 59.18)
CIE-LCHlch(61.42, 65.91, 116.11°)
OKLaboklab(65.76% -0.0853 0.1287)
OKLCHoklch(65.76% 0.154 123.6)
XYZxyz(21.5099, 29.7281, 5.5820)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA01A #3B1AA0
analogous
#A07E1A #7FA01A #3CA01A
triadic
#7FA01A #1A7FA0 #A01A7F
tetradic
#7FA01A #1AA07E #3B1AA0 #A01A3C
square
#7FA01A #1AA07E #3B1AA0 #A01A3C
split-complementary
#7FA01A #1A3CA0 #7E1AA0
monochromatic
#2B3709 #556B11 #7FA01A #A9D523 #BFE352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA01A#FFFFFF#000000##000000
##7FA01A1.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)
#A59429
Tritanopia (blue-blind)
#869888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa01a;
/* rgb */ color: rgb(127, 160, 26);
/* oklch */ color: oklch(65.8% 0.154 123.6);
Tailwind
colors: {
  custom: {
    50: '#a8bc65',
    500: '#7fa01a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa01a;
$custom-light: #a8bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa01a",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 74.776,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.1544,
    "h": 123.6
  },
  "luminance": 0.29728
}

Semantic roles & 50–950 ramp

primary
#7FA01A
secondary
#6D50C5
accent
#39EF66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA01A

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

Preview Lab → · Contrast checker → · Palette generator →

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