#7FA018#7FA018

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

Color values

HEX#7FA018
RGBrgb(127, 160, 24)
HSLhsl(75, 74%, 36%)
HSVhsv(75, 85%, 63%)
CMYKcmyk(20.6%, 0%, 85%, 37.3%)
CIE-LABlab(61.41, -29.07, 59.68)
CIE-LCHlch(61.41, 66.38, 115.97°)
OKLaboklab(65.75% -0.0856 0.1294)
OKLCHoklch(65.75% 0.155 123.5)
XYZxyz(21.4884, 29.7194, 5.4683)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA018 #3918A0
analogous
#A07D18 #7FA018 #3BA018
triadic
#7FA018 #187FA0 #A0187F
tetradic
#7FA018 #18A07D #3918A0 #A0183B
square
#7FA018 #18A07D #3918A0 #A0183B
split-complementary
#7FA018 #183BA0 #7D18A0
monochromatic
#2B3608 #556B10 #7FA018 #A9D520 #C0E44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA018#FFFFFF#000000##000000
##7FA0181.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: #7fa018;
/* rgb */ color: rgb(127, 160, 24);
/* oklch */ color: oklch(65.7% 0.155 123.5);
Tailwind
colors: {
  custom: {
    50: '#a8bc64',
    500: '#7fa018',
    950: '#000000',
  },
}
SCSS
$custom: #7fa018;
$custom-light: #a8bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa018",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 74.559,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.15519,
    "h": 123.5
  },
  "luminance": 0.2972
}

Semantic roles & 50–950 ramp

primary
#7FA018
secondary
#6B4DC6
accent
#37F164
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA018

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

Preview Lab → · Contrast checker → · Palette generator →

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