#7FA524#7FA524

#7FA524 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.156 H 125.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7FA524
RGBrgb(127, 165, 36)
HSLhsl(78, 64%, 39%)
HSVhsv(78, 78%, 65%)
CMYKcmyk(23%, 0%, 78.2%, 35.3%)
CIE-LABlab(62.97, -30.96, 57.70)
CIE-LCHlch(62.97, 65.48, 118.22°)
OKLaboklab(67.03% -0.09 0.1272)
OKLCHoklch(67.03% 0.156 125.3)
XYZxyz(22.5262, 31.5494, 6.5716)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA524 #4A24A5
analogous
#A58A24 #7FA524 #3FA524
triadic
#7FA524 #247FA5 #A5247F
tetradic
#7FA524 #24A58A #4A24A5 #A5243F
square
#7FA524 #24A58A #4A24A5 #A5243F
split-complementary
#7FA524 #243FA5 #8A24A5
monochromatic
#32410E #587319 #7FA524 #A4D334 #BADE66

Accessibility & contrast

On white

2.87
#7FA524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7FA524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA524
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA524#FFFFFF#000000##000000
##7FA5241.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#859D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa524;
/* rgb */ color: rgb(127, 165, 36);
/* oklch */ color: oklch(67.0% 0.156 125.3);
Tailwind
colors: {
  custom: {
    50: '#a8bf6a',
    500: '#7fa524',
    950: '#000000',
  },
}
SCSS
$custom: #7fa524;
$custom-light: #a8bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa524",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 77.674,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67027,
    "c": 0.15579,
    "h": 125.3
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

primary
#7FA524
secondary
#7E62C3
accent
#41E772
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA524

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

Preview Lab → · Contrast checker → · Palette generator →

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