#7FA278#7FA278

#7FA278 is a light, moderate green. Relative luminance 0.317; OKLCH L 67.5% C 0.072 H 140.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7FA278
RGBrgb(127, 162, 120)
HSLhsl(110, 18%, 55%)
HSVhsv(110, 26%, 64%)
CMYKcmyk(21.6%, 0%, 25.9%, 36.5%)
CIE-LABlab(63.10, -20.33, 18.02)
CIE-LCHlch(63.10, 27.17, 138.44°)
OKLaboklab(67.47% -0.0553 0.0458)
OKLCHoklch(67.47% 0.072 140.4)
XYZxyz(25.0621, 31.7081, 22.5655)
Luminance0.3171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA278 #9B78A2
analogous
#94A278 #7FA278 #78A286
triadic
#7FA278 #787FA2 #A2787F
tetradic
#7FA278 #7894A2 #9B78A2 #A28678
square
#7FA278 #7894A2 #9B78A2 #A28678
split-complementary
#7FA278 #8678A2 #A27894
monochromatic
#465E41 #61835A #7FA278 #A1BB9C #C4D4C0

Accessibility & contrast

On white

2.86
#7FA278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#7FA278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA278
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA278#FFFFFF#000000##000000
##7FA2781.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59B75
Deuteranopia (green-blind)
#9F977A
Tritanopia (blue-blind)
#7D9F97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa278;
/* rgb */ color: rgb(127, 162, 120);
/* oklch */ color: oklch(67.5% 0.072 140.4);
Tailwind
colors: {
  custom: {
    50: '#a4bd9f',
    500: '#7fa278',
    950: '#000000',
  },
}
SCSS
$custom: #7fa278;
$custom-light: #a4bd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa278",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 120
  },
  "hsl": {
    "h": 110,
    "s": 18.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.67466,
    "c": 0.07184,
    "h": 140.4
  },
  "luminance": 0.31709
}

Semantic roles & 50–950 ramp

primary
#7FA278
secondary
#C1B2C4
accent
#6DBBAE
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA278

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

Preview Lab → · Contrast checker → · Palette generator →

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