#7FA82B#7FA82B

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

Color values

HEX#7FA82B
RGBrgb(127, 168, 43)
HSLhsl(80, 59%, 41%)
HSVhsv(80, 74%, 66%)
CMYKcmyk(24.4%, 0%, 74.4%, 34.1%)
CIE-LABlab(63.91, -32.00, 56.26)
CIE-LCHlch(63.91, 64.72, 119.63°)
OKLaboklab(67.8% -0.0923 0.1253)
OKLCHoklch(67.8% 0.156 126.4)
XYZxyz(23.1912, 32.6913, 7.3733)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA82B #542BA8
analogous
#A8932B #7FA82B #41A82B
triadic
#7FA82B #2B7FA8 #A82B7F
tetradic
#7FA82B #2BA893 #542BA8 #A82B41
square
#7FA82B #2BA893 #542BA8 #A82B41
split-complementary
#7FA82B #2B41A8 #932BA8
monochromatic
#354712 #5A771F #7FA82B #A0CF42 #B9DB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA82B#FFFFFF#000000##000000
##7FA82B1.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)
#B19C11
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa82b;
/* rgb */ color: rgb(127, 168, 43);
/* oklch */ color: oklch(67.8% 0.156 126.4);
Tailwind
colors: {
  custom: {
    50: '#a8c26d',
    500: '#7fa82b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa82b;
$custom-light: #a8c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa82b",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 79.68,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67803,
    "c": 0.1556,
    "h": 126.4
  },
  "luminance": 0.32692
}

Semantic roles & 50–950 ramp

primary
#7FA82B
secondary
#896CC2
accent
#45E279
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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