#7FA017#7FA017

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

Color values

HEX#7FA017
RGBrgb(127, 160, 23)
HSLhsl(74, 75%, 36%)
HSVhsv(74, 86%, 63%)
CMYKcmyk(20.6%, 0%, 85.6%, 37.3%)
CIE-LABlab(61.41, -29.11, 59.92)
CIE-LCHlch(61.41, 66.61, 115.91°)
OKLaboklab(65.75% -0.0858 0.1298)
OKLCHoklch(65.75% 0.156 123.5)
XYZxyz(21.4782, 29.7153, 5.4145)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA017 #3817A0
analogous
#A07C17 #7FA017 #3AA017
triadic
#7FA017 #177FA0 #A0177F
tetradic
#7FA017 #17A07C #3817A0 #A0173A
square
#7FA017 #17A07C #3817A0 #A0173A
split-complementary
#7FA017 #173AA0 #7C17A0
monochromatic
#2A3508 #556A0F #7FA017 #A9D61F #C0E54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7fa017;
/* rgb */ color: rgb(127, 160, 23);
/* oklch */ color: oklch(65.7% 0.156 123.5);
Tailwind
colors: {
  custom: {
    50: '#a8bc64',
    500: '#7fa017',
    950: '#000000',
  },
}
SCSS
$custom: #7fa017;
$custom-light: #a8bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa017",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 74.453,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.15556,
    "h": 123.5
  },
  "luminance": 0.29715
}

Semantic roles & 50–950 ramp

primary
#7FA017
secondary
#694CC7
accent
#36F163
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA017

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

Preview Lab → · Contrast checker → · Palette generator →

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