#7FA625#7FA625

#7FA625 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.156 H 125.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA625
RGBrgb(127, 166, 37)
HSLhsl(78, 64%, 40%)
HSVhsv(78, 78%, 65%)
CMYKcmyk(23.5%, 0%, 77.7%, 34.9%)
CIE-LABlab(63.27, -31.38, 57.67)
CIE-LCHlch(63.27, 65.65, 118.55°)
OKLaboklab(67.28% -0.0911 0.1273)
OKLCHoklch(67.28% 0.156 125.6)
XYZxyz(22.7227, 31.9177, 6.7135)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA625 #4C25A6
analogous
#A68D25 #7FA625 #3EA625
triadic
#7FA625 #257FA6 #A6257F
tetradic
#7FA625 #25A68D #4C25A6 #A6253E
square
#7FA625 #25A68D #4C25A6 #A6253E
split-complementary
#7FA625 #253EA6 #8D25A6
monochromatic
#32420F #59741A #7FA625 #A3D236 #BADD68

Accessibility & contrast

On white

2.84
#7FA625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7FA625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA625
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA625#FFFFFF#000000##000000
##7FA6251.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B01
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa625;
/* rgb */ color: rgb(127, 166, 37);
/* oklch */ color: oklch(67.3% 0.156 125.6);
Tailwind
colors: {
  custom: {
    50: '#a8c06a',
    500: '#7fa625',
    950: '#000000',
  },
}
SCSS
$custom: #7fa625;
$custom-light: #a8c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa625",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 78.14,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67277,
    "c": 0.15649,
    "h": 125.6
  },
  "luminance": 0.31918
}

Semantic roles & 50–950 ramp

primary
#7FA625
secondary
#8064C3
accent
#41E773
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA625

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

Preview Lab → · Contrast checker → · Palette generator →

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