#7FA92C#7FA92C

#7FA92C 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.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA92C
RGBrgb(127, 169, 44)
HSLhsl(80, 59%, 42%)
HSVhsv(80, 74%, 66%)
CMYKcmyk(24.9%, 0%, 74%, 33.7%)
CIE-LABlab(64.22, -32.41, 56.20)
CIE-LCHlch(64.22, 64.88, 119.97°)
OKLaboklab(68.05% -0.0933 0.1253)
OKLCHoklch(68.05% 0.156 126.7)
XYZxyz(23.3951, 33.0694, 7.5328)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA92C #562CA9
analogous
#A9952C #7FA92C #41A92C
triadic
#7FA92C #2C7FA9 #A92C7F
tetradic
#7FA92C #2CA995 #562CA9 #A92C41
square
#7FA92C #2CA995 #562CA9 #A92C41
split-complementary
#7FA92C #2C41A9 #952CA9
monochromatic
#364813 #5B781F #7FA92C #A0CE44 #B9DB74

Accessibility & contrast

On white

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

On black

7.61
#7FA92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA92C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA92C#FFFFFF#000000##000000
##7FA92C1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa92c;
/* rgb */ color: rgb(127, 169, 44);
/* oklch */ color: oklch(68.1% 0.156 126.7);
Tailwind
colors: {
  custom: {
    50: '#a8c26e',
    500: '#7fa92c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa92c;
$custom-light: #a8c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa92c",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 80.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68054,
    "c": 0.15625,
    "h": 126.7
  },
  "luminance": 0.3307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA92C

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

Preview Lab → · Contrast checker → · Palette generator →

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