#7FA825#7FA825

#7FA825 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.159 H 126.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA825
RGBrgb(127, 168, 37)
HSLhsl(79, 64%, 40%)
HSVhsv(79, 78%, 66%)
CMYKcmyk(24.4%, 0%, 78%, 34.1%)
CIE-LABlab(63.88, -32.32, 58.23)
CIE-LCHlch(63.88, 66.60, 119.03°)
OKLaboklab(67.77% -0.0936 0.1285)
OKLCHoklch(67.77% 0.159 126.1)
XYZxyz(23.0891, 32.6505, 6.8356)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA825 #4E25A8
analogous
#A89025 #7FA825 #3DA825
triadic
#7FA825 #257FA8 #A8257F
tetradic
#7FA825 #25A890 #4E25A8 #A8253D
square
#7FA825 #25A890 #4E25A8 #A8253D
split-complementary
#7FA825 #253DA8 #9025A8
monochromatic
#33440F #59761A #7FA825 #A2D337 #BADE69

Accessibility & contrast

On white

2.79
#7FA825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7FA825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA825
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA825#FFFFFF#000000##000000
##7FA8251.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#85A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa825;
/* rgb */ color: rgb(127, 168, 37);
/* oklch */ color: oklch(67.8% 0.159 126.1);
Tailwind
colors: {
  custom: {
    50: '#a8c26b',
    500: '#7fa825',
    950: '#000000',
  },
}
SCSS
$custom: #7fa825;
$custom-light: #a8c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa825",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 78.779,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.15894,
    "h": 126.1
  },
  "luminance": 0.32651
}

Semantic roles & 50–950 ramp

primary
#7FA825
secondary
#8365C4
accent
#41E775
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA825

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

Preview Lab → · Contrast checker → · Palette generator →

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