#7FA254#7FA254

#7FA254 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.8% C 0.113 H 128.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7FA254
RGBrgb(127, 162, 84)
HSLhsl(87, 32%, 48%)
HSVhsv(87, 48%, 64%)
CMYKcmyk(21.6%, 0%, 48.1%, 36.5%)
CIE-LABlab(62.50, -25.56, 36.51)
CIE-LCHlch(62.50, 44.57, 125.00°)
OKLaboklab(66.79% -0.0709 0.0878)
OKLCHoklch(66.79% 0.113 128.9)
XYZxyz(23.2727, 30.9924, 13.1418)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA254 #7754A2
analogous
#A29E54 #7FA254 #58A254
triadic
#7FA254 #547FA2 #A2547F
tetradic
#7FA254 #54A29E #7754A2 #A25458
square
#7FA254 #54A29E #7754A2 #A25458
split-complementary
#7FA254 #5458A2 #9E54A2
monochromatic
#40512A #5F7A3F #7FA254 #9DBA79 #BBCFA2

Accessibility & contrast

On white

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

On black

7.20
#7FA254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA254
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA254#FFFFFF#000000##000000
##7FA2541.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994D
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#829C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa254;
/* rgb */ color: rgb(127, 162, 84);
/* oklch */ color: oklch(66.8% 0.113 128.9);
Tailwind
colors: {
  custom: {
    50: '#a6bd86',
    500: '#7fa254',
    950: '#000000',
  },
}
SCSS
$custom: #7fa254;
$custom-light: #a6bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa254",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 86.923,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.11288,
    "h": 128.9
  },
  "luminance": 0.30993
}

Semantic roles & 50–950 ramp

primary
#7FA254
secondary
#A796BC
accent
#60C88F
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA254

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

Preview Lab → · Contrast checker → · Palette generator →

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