#7FA020#7FA020

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

Color values

HEX#7FA020
RGBrgb(127, 160, 32)
HSLhsl(75, 67%, 38%)
HSVhsv(75, 80%, 63%)
CMYKcmyk(20.6%, 0%, 80%, 37.3%)
CIE-LABlab(61.44, -28.76, 57.53)
CIE-LCHlch(61.44, 64.32, 116.56°)
OKLaboklab(65.79% -0.0843 0.1262)
OKLCHoklch(65.79% 0.152 123.7)
XYZxyz(21.5842, 29.7578, 5.9729)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA020 #4120A0
analogous
#A08120 #7FA020 #3FA020
triadic
#7FA020 #207FA0 #A0207F
tetradic
#7FA020 #20A081 #4120A0 #A0203F
square
#7FA020 #20A081 #4120A0 #A0203F
split-complementary
#7FA020 #203FA0 #8120A0
monochromatic
#2E3A0C #576D16 #7FA020 #A7D32A #BDDE5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA020#FFFFFF#000000##000000
##7FA0201.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)
#A5942D
Tritanopia (blue-blind)
#869889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa020;
/* rgb */ color: rgb(127, 160, 32);
/* oklch */ color: oklch(65.8% 0.152 123.7);
Tailwind
colors: {
  custom: {
    50: '#a8bc67',
    500: '#7fa020',
    950: '#000000',
  },
}
SCSS
$custom: #7fa020;
$custom-light: #a8bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa020",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 75.469,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.15171,
    "h": 123.7
  },
  "luminance": 0.29758
}

Semantic roles & 50–950 ramp

primary
#7FA020
secondary
#7459C3
accent
#3EEA6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA020

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

Preview Lab → · Contrast checker → · Palette generator →

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