#7FA82C#7FA82C

#7FA82C is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.155 H 126.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7FA82C
RGBrgb(127, 168, 44)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 74%, 66%)
CMYKcmyk(24.4%, 0%, 73.8%, 34.1%)
CIE-LABlab(63.92, -31.94, 55.91)
CIE-LCHlch(63.92, 64.39, 119.74°)
OKLaboklab(67.81% -0.092 0.1247)
OKLCHoklch(67.81% 0.155 126.4)
XYZxyz(23.2098, 32.6988, 7.4711)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA82C #552CA8
analogous
#A8932C #7FA82C #41A82C
triadic
#7FA82C #2C7FA8 #A82C7F
tetradic
#7FA82C #2CA893 #552CA8 #A82C41
square
#7FA82C #2CA893 #552CA8 #A82C41
split-complementary
#7FA82C #2C41A8 #932CA8
monochromatic
#364713 #5A781F #7FA82C #A0CE43 #B9DB74

Accessibility & contrast

On white

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

On black

7.54
#7FA82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA82C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA82C#FFFFFF#000000##000000
##7FA82C1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C14
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa82c;
/* rgb */ color: rgb(127, 168, 44);
/* oklch */ color: oklch(67.8% 0.155 126.4);
Tailwind
colors: {
  custom: {
    50: '#a8c26e',
    500: '#7fa82c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa82c;
$custom-light: #a8c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa82c",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 79.839,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6781,
    "c": 0.155,
    "h": 126.4
  },
  "luminance": 0.32699
}

Semantic roles & 50–950 ramp

primary
#7FA82C
secondary
#8A6EC2
accent
#46E27A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA82C

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

Preview Lab → · Contrast checker → · Palette generator →

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