#7FA72D#7FA72D

#7FA72D is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.6% C 0.153 H 126.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7FA72D
RGBrgb(127, 167, 45)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 73%, 65%)
CMYKcmyk(24%, 0%, 73.1%, 34.5%)
CIE-LABlab(63.62, -31.42, 55.26)
CIE-LCHlch(63.62, 63.56, 119.62°)
OKLaboklab(67.57% -0.0905 0.1235)
OKLCHoklch(67.57% 0.153 126.2)
XYZxyz(23.0449, 32.3386, 7.5100)
Luminance0.3234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA72D #552DA7
analogous
#A7922D #7FA72D #42A72D
triadic
#7FA72D #2D7FA7 #A72D7F
tetradic
#7FA72D #2DA792 #552DA7 #A72D42
square
#7FA72D #2DA792 #552DA7 #A72D42
split-complementary
#7FA72D #2D42A7 #922DA7
monochromatic
#364713 #5A7720 #7FA72D #A0CD44 #B9DA75

Accessibility & contrast

On white

2.81
#7FA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7FA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA72D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA72D#FFFFFF#000000##000000
##7FA72D1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C16
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#849F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa72d;
/* rgb */ color: rgb(127, 167, 45);
/* oklch */ color: oklch(67.6% 0.153 126.2);
Tailwind
colors: {
  custom: {
    50: '#a8c16e',
    500: '#7fa72d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa72d;
$custom-light: #a8c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa72d",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 79.672,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67573,
    "c": 0.15312,
    "h": 126.2
  },
  "luminance": 0.32339
}

Semantic roles & 50–950 ramp

primary
#7FA72D
secondary
#8A6EC1
accent
#47E179
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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