#7FA91C#7FA91C

#7FA91C is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.164 H 126.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7FA91C
RGBrgb(127, 169, 28)
HSLhsl(78, 72%, 39%)
HSVhsv(78, 83%, 66%)
CMYKcmyk(24.9%, 0%, 83.4%, 33.7%)
CIE-LABlab(64.14, -33.17, 61.05)
CIE-LCHlch(64.14, 69.48, 118.52°)
OKLaboklab(67.96% -0.0965 0.133)
OKLCHoklch(67.96% 0.164 126)
XYZxyz(23.1501, 32.9714, 6.2428)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA91C #461CA9
analogous
#A98C1C #7FA91C #38A91C
triadic
#7FA91C #1C7FA9 #A91C7F
tetradic
#7FA91C #1CA98C #461CA9 #A91C38
square
#7FA91C #1CA98C #461CA9 #A91C38
split-complementary
#7FA91C #1C38A9 #8C1CA9
monochromatic
#30400B #587413 #7FA91C #A6DB27 #BBE45B

Accessibility & contrast

On white

2.77
#7FA91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#7FA91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA91C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA91C#FFFFFF#000000##000000
##7FA91C1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#85A190
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa91c;
/* rgb */ color: rgb(127, 169, 28);
/* oklch */ color: oklch(68.0% 0.164 126.0);
Tailwind
colors: {
  custom: {
    50: '#a8c267',
    500: '#7fa91c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa91c;
$custom-light: #a8c267;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa91c",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 77.872,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67964,
    "c": 0.1643,
    "h": 126
  },
  "luminance": 0.32972
}

Semantic roles & 50–950 ramp

primary
#7FA91C
secondary
#7A59C8
accent
#39EE6F
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA91C

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

Preview Lab → · Contrast checker → · Palette generator →

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