#7FA848#7FA848

#7FA848 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.1% C 0.133 H 128.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7FA848
RGBrgb(127, 168, 72)
HSLhsl(86, 40%, 47%)
HSVhsv(86, 57%, 66%)
CMYKcmyk(24.4%, 0%, 57.1%, 34.1%)
CIE-LABlab(64.15, -29.77, 44.38)
CIE-LCHlch(64.15, 53.44, 123.85°)
OKLaboklab(68.07% -0.0836 0.104)
OKLCHoklch(68.07% 0.133 128.8)
XYZxyz(23.9246, 32.9847, 11.2358)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA848 #7148A8
analogous
#A8A148 #7FA848 #4FA848
triadic
#7FA848 #487FA8 #A8487F
tetradic
#7FA848 #48A8A1 #7148A8 #A8484F
square
#7FA848 #48A8A1 #7148A8 #A8484F
split-complementary
#7FA848 #484FA8 #A148A8
monochromatic
#3E5223 #5F7D36 #7FA848 #9DC06D #BAD398

Accessibility & contrast

On white

2.76
#7FA848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7FA848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA848
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA848#FFFFFF#000000##000000
##7FA8481.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3E
Deuteranopia (green-blind)
#AA9B4E
Tritanopia (blue-blind)
#82A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa848;
/* rgb */ color: rgb(127, 168, 72);
/* oklch */ color: oklch(68.1% 0.133 128.8);
Tailwind
colors: {
  custom: {
    50: '#a6c27e',
    500: '#7fa848',
    950: '#000000',
  },
}
SCSS
$custom: #7fa848;
$custom-light: #a6c27e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa848",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 85.625,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68072,
    "c": 0.13345,
    "h": 128.8
  },
  "luminance": 0.32985
}

Semantic roles & 50–950 ramp

primary
#7FA848
secondary
#A28DBF
accent
#58D08B
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA848

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

Preview Lab → · Contrast checker → · Palette generator →

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