#7FA048#7FA048

#7FA048 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.122 H 126.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA048
RGBrgb(127, 160, 72)
HSLhsl(83, 38%, 45%)
HSVhsv(83, 55%, 63%)
CMYKcmyk(20.6%, 0%, 55%, 37.3%)
CIE-LABlab(61.76, -25.90, 41.60)
CIE-LCHlch(61.76, 49.01, 121.90°)
OKLaboklab(66.14% -0.0728 0.0981)
OKLCHoklch(66.14% 0.122 126.6)
XYZxyz(22.4929, 30.1212, 10.7586)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA048 #6948A0
analogous
#A09548 #7FA048 #53A048
triadic
#7FA048 #487FA0 #A0487F
tetradic
#7FA048 #48A095 #6948A0 #A04853
square
#7FA048 #48A095 #6948A0 #A04853
split-complementary
#7FA048 #4853A0 #9548A0
monochromatic
#3C4C22 #5D7635 #7FA048 #9DBC69 #B9CF94

Accessibility & contrast

On white

2.99
#7FA048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA048
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA048#FFFFFF#000000##000000
##7FA0481.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8963F
Deuteranopia (green-blind)
#A3954E
Tritanopia (blue-blind)
#83998C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa048;
/* rgb */ color: rgb(127, 160, 72);
/* oklch */ color: oklch(66.1% 0.122 126.6);
Tailwind
colors: {
  custom: {
    50: '#a6bc7e',
    500: '#7fa048',
    950: '#000000',
  },
}
SCSS
$custom: #7fa048;
$custom-light: #a6bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa048",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 82.5,
    "s": 37.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.12213,
    "h": 126.6
  },
  "luminance": 0.30122
}

Semantic roles & 50–950 ramp

primary
#7FA048
secondary
#9C89BB
accent
#5ACE85
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA048

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

Preview Lab → · Contrast checker → · Palette generator →

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