#7FA82D#7FA82D

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

Color values

HEX#7FA82D
RGBrgb(127, 168, 45)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 73%, 66%)
CMYKcmyk(24.4%, 0%, 73.2%, 34.1%)
CIE-LABlab(63.92, -31.89, 55.55)
CIE-LCHlch(63.92, 64.05, 119.85°)
OKLaboklab(67.82% -0.0918 0.1241)
OKLCHoklch(67.82% 0.154 126.5)
XYZxyz(23.2288, 32.7064, 7.5713)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA82D #562DA8
analogous
#A8942D #7FA82D #42A82D
triadic
#7FA82D #2D7FA8 #A82D7F
tetradic
#7FA82D #2DA894 #562DA8 #A82D42
square
#7FA82D #2DA894 #562DA8 #A82D42
split-complementary
#7FA82D #2D42A8 #942DA8
monochromatic
#364713 #5B7820 #7FA82D #A0CD45 #B9DA75

Accessibility & contrast

On white

2.78
#7FA82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA82D#FFFFFF#000000##000000
##7FA82D1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa82d;
/* rgb */ color: rgb(127, 168, 45);
/* oklch */ color: oklch(67.8% 0.154 126.5);
Tailwind
colors: {
  custom: {
    50: '#a8c26e',
    500: '#7fa82d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa82d;
$custom-light: #a8c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa82d",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.15438,
    "h": 126.5
  },
  "luminance": 0.32707
}

Semantic roles & 50–950 ramp

primary
#7FA82D
secondary
#8B6FC2
accent
#47E17A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA82D

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

Preview Lab → · Contrast checker → · Palette generator →

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