#7FA225#7FA225

#7FA225 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.152 H 124.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7FA225
RGBrgb(127, 162, 37)
HSLhsl(77, 63%, 39%)
HSVhsv(77, 77%, 64%)
CMYKcmyk(21.6%, 0%, 77.2%, 36.5%)
CIE-LABlab(62.07, -29.49, 56.54)
CIE-LCHlch(62.07, 63.77, 117.54°)
OKLaboklab(66.3% -0.0859 0.1249)
OKLCHoklch(66.3% 0.152 124.5)
XYZxyz(22.0069, 30.4860, 6.4749)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA225 #4825A2
analogous
#A28725 #7FA225 #41A225
triadic
#7FA225 #257FA2 #A2257F
tetradic
#7FA225 #25A287 #4825A2 #A22541
square
#7FA225 #25A287 #4825A2 #A22541
split-complementary
#7FA225 #2541A2 #8725A2
monochromatic
#313E0E #58701A #7FA225 #A5D134 #BBDC65

Accessibility & contrast

On white

2.96
#7FA225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7FA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA225
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA225#FFFFFF#000000##000000
##7FA2251.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9704
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa225;
/* rgb */ color: rgb(127, 162, 37);
/* oklch */ color: oklch(66.3% 0.152 124.5);
Tailwind
colors: {
  custom: {
    50: '#a8bd6a',
    500: '#7fa225',
    950: '#000000',
  },
}
SCSS
$custom: #7fa225;
$custom-light: #a8bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa225",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 76.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66302,
    "c": 0.15158,
    "h": 124.5
  },
  "luminance": 0.30486
}

Semantic roles & 50–950 ramp

primary
#7FA225
secondary
#7C61C2
accent
#42E670
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA225

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

Preview Lab → · Contrast checker → · Palette generator →

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