#7FA92D#7FA92D

#7FA92D is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.156 H 126.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA92D
RGBrgb(127, 169, 45)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 73%, 66%)
CMYKcmyk(24.9%, 0%, 73.4%, 33.7%)
CIE-LABlab(64.22, -32.35, 55.85)
CIE-LCHlch(64.22, 64.54, 120.08°)
OKLaboklab(68.06% -0.0931 0.1248)
OKLCHoklch(68.06% 0.156 126.7)
XYZxyz(23.4141, 33.0770, 7.6330)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA92D #572DA9
analogous
#A9952D #7FA92D #41A92D
triadic
#7FA92D #2D7FA9 #A92D7F
tetradic
#7FA92D #2DA995 #572DA9 #A92D41
square
#7FA92D #2DA995 #572DA9 #A92D41
split-complementary
#7FA92D #2D41A9 #952DA9
monochromatic
#364813 #5B7920 #7FA92D #A0CE46 #B8DA76

Accessibility & contrast

On white

2.76
#7FA92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7FA92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA92D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA92D#FFFFFF#000000##000000
##7FA92D1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D15
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa92d;
/* rgb */ color: rgb(127, 169, 45);
/* oklch */ color: oklch(68.1% 0.156 126.7);
Tailwind
colors: {
  custom: {
    50: '#a8c26f',
    500: '#7fa92d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa92d;
$custom-light: #a8c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa92d",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 80.323,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68061,
    "c": 0.15564,
    "h": 126.7
  },
  "luminance": 0.33077
}

Semantic roles & 50–950 ramp

primary
#7FA92D
secondary
#8C6FC2
accent
#47E17B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA92D

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

Preview Lab → · Contrast checker → · Palette generator →

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