#7FA016#7FA016

#7FA016 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.7% C 0.156 H 123.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7FA016
RGBrgb(127, 160, 22)
HSLhsl(74, 76%, 36%)
HSVhsv(74, 86%, 63%)
CMYKcmyk(20.6%, 0%, 86.3%, 37.3%)
CIE-LABlab(61.40, -29.14, 60.14)
CIE-LCHlch(61.40, 66.83, 115.85°)
OKLaboklab(65.74% -0.0859 0.1301)
OKLCHoklch(65.74% 0.156 123.4)
XYZxyz(21.4683, 29.7114, 5.3628)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA016 #3716A0
analogous
#A07C16 #7FA016 #3AA016
triadic
#7FA016 #167FA0 #A0167F
tetradic
#7FA016 #16A07C #3716A0 #A0163A
square
#7FA016 #16A07C #3716A0 #A0163A
split-complementary
#7FA016 #163AA0 #7C16A0
monochromatic
#2A3407 #546A0F #7FA016 #AAD61D #C1E64A

Accessibility & contrast

On white

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

On black

6.94
#7FA016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA016
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA016#FFFFFF#000000##000000
##7FA0161.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa016;
/* rgb */ color: rgb(127, 160, 22);
/* oklch */ color: oklch(65.7% 0.156 123.4);
Tailwind
colors: {
  custom: {
    50: '#a8bc64',
    500: '#7fa016',
    950: '#000000',
  },
}
SCSS
$custom: #7fa016;
$custom-light: #a8bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa016",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 22
  },
  "hsl": {
    "h": 74.348,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65741,
    "c": 0.15592,
    "h": 123.4
  },
  "luminance": 0.29712
}

Semantic roles & 50–950 ramp

primary
#7FA016
secondary
#684AC8
accent
#35F263
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA016

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

Preview Lab → · Contrast checker → · Palette generator →

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