#7FA820#7FA820

#7FA820 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.7% C 0.161 H 125.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7FA820
RGBrgb(127, 168, 32)
HSLhsl(78, 68%, 39%)
HSVhsv(78, 81%, 66%)
CMYKcmyk(24.4%, 0%, 81%, 34.1%)
CIE-LABlab(63.85, -32.54, 59.71)
CIE-LCHlch(63.85, 68.01, 118.59°)
OKLaboklab(67.74% -0.0946 0.1308)
OKLCHoklch(67.74% 0.161 125.9)
XYZxyz(23.0159, 32.6212, 6.4502)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA820 #4920A8
analogous
#A88D20 #7FA820 #3BA820
triadic
#7FA820 #207FA8 #A8207F
tetradic
#7FA820 #20A88D #4920A8 #A8203B
square
#7FA820 #20A88D #4920A8 #A8203B
split-complementary
#7FA820 #203BA8 #8D20A8
monochromatic
#31410C #587516 #7FA820 #A4D72E #BBE161

Accessibility & contrast

On white

2.79
#7FA820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7FA820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA820
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA820#FFFFFF#000000##000000
##7FA8201.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#85A08F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa820;
/* rgb */ color: rgb(127, 168, 32);
/* oklch */ color: oklch(67.7% 0.161 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c269',
    500: '#7fa820',
    950: '#000000',
  },
}
SCSS
$custom: #7fa820;
$custom-light: #a8c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa820",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 78.088,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67738,
    "c": 0.16138,
    "h": 125.9
  },
  "luminance": 0.32622
}

Semantic roles & 50–950 ramp

primary
#7FA820
secondary
#7D5EC6
accent
#3DEB71
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA820

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

Preview Lab → · Contrast checker → · Palette generator →

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