#7FA251#7FA251

#7FA251 is a light, moderate yellow-green. Relative luminance 0.309; OKLCH L 66.7% C 0.116 H 128.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA251
RGBrgb(127, 162, 81)
HSLhsl(86, 33%, 48%)
HSVhsv(86, 50%, 64%)
CMYKcmyk(21.6%, 0%, 50%, 36.5%)
CIE-LABlab(62.46, -25.91, 37.98)
CIE-LCHlch(62.46, 45.98, 124.30°)
OKLaboklab(66.74% -0.0721 0.0909)
OKLCHoklch(66.74% 0.116 128.4)
XYZxyz(23.1577, 30.9464, 12.5362)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA251 #7451A2
analogous
#A29C51 #7FA251 #57A251
triadic
#7FA251 #517FA2 #A2517F
tetradic
#7FA251 #51A29C #7451A2 #A25157
square
#7FA251 #51A29C #7451A2 #A25157
split-complementary
#7FA251 #5157A2 #9C51A2
monochromatic
#3F5028 #5F793D #7FA251 #9DBA76 #BACF9F

Accessibility & contrast

On white

2.92
#7FA251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7FA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA251
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA251#FFFFFF#000000##000000
##7FA2511.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#A49656
Tritanopia (blue-blind)
#829C8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa251;
/* rgb */ color: rgb(127, 162, 81);
/* oklch */ color: oklch(66.7% 0.116 128.4);
Tailwind
colors: {
  custom: {
    50: '#a6bd84',
    500: '#7fa251',
    950: '#000000',
  },
}
SCSS
$custom: #7fa251;
$custom-light: #a6bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa251",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 85.926,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.11601,
    "h": 128.4
  },
  "luminance": 0.30947
}

Semantic roles & 50–950 ramp

primary
#7FA251
secondary
#A593BC
accent
#5EC98D
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA251

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

Preview Lab → · Contrast checker → · Palette generator →

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