#7FA248#7FA248

#7FA248 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.6% C 0.125 H 127.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7FA248
RGBrgb(127, 162, 72)
HSLhsl(83, 38%, 46%)
HSVhsv(83, 56%, 64%)
CMYKcmyk(21.6%, 0%, 55.6%, 36.5%)
CIE-LABlab(62.36, -26.88, 42.30)
CIE-LCHlch(62.36, 50.12, 122.43°)
OKLaboklab(66.62% -0.0755 0.0996)
OKLCHoklch(66.62% 0.125 127.2)
XYZxyz(22.8424, 30.8202, 10.8751)
Luminance0.3082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA248 #6B48A2
analogous
#A29848 #7FA248 #52A248
triadic
#7FA248 #487FA2 #A2487F
tetradic
#7FA248 #48A298 #6B48A2 #A24852
square
#7FA248 #48A298 #6B48A2 #A24852
split-complementary
#7FA248 #4852A2 #9848A2
monochromatic
#3D4D22 #5E7835 #7FA248 #9DBD6A #B9D095

Accessibility & contrast

On white

2.93
#7FA248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7FA248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA248
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA248#FFFFFF#000000##000000
##7FA2481.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983F
Deuteranopia (green-blind)
#A5964E
Tritanopia (blue-blind)
#839B8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa248;
/* rgb */ color: rgb(127, 162, 72);
/* oklch */ color: oklch(66.6% 0.125 127.2);
Tailwind
colors: {
  custom: {
    50: '#a6bd7e',
    500: '#7fa248',
    950: '#000000',
  },
}
SCSS
$custom: #7fa248;
$custom-light: #a6bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa248",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 83.333,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66623,
    "c": 0.12497,
    "h": 127.2
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#7FA248
secondary
#9D8ABC
accent
#59CE87
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA248

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

Preview Lab → · Contrast checker → · Palette generator →

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