#7FA262#7FA262

#7FA262 is a light, moderate yellow-green. Relative luminance 0.312; OKLCH L 67.0% C 0.097 H 131.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7FA262
RGBrgb(127, 162, 98)
HSLhsl(93, 26%, 51%)
HSVhsv(93, 40%, 64%)
CMYKcmyk(21.6%, 0%, 39.5%, 36.5%)
CIE-LABlab(62.70, -23.76, 29.45)
CIE-LCHlch(62.70, 37.84, 128.89°)
OKLaboklab(67.02% -0.0651 0.0725)
OKLCHoklch(67.02% 0.097 131.9)
XYZxyz(23.8769, 31.2340, 16.3237)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA262 #8562A2
analogous
#9FA262 #7FA262 #62A265
triadic
#7FA262 #627FA2 #A2627F
tetradic
#7FA262 #629FA2 #8562A2 #A26562
square
#7FA262 #629FA2 #8562A2 #A26562
split-complementary
#7FA262 #6562A2 #A2629F
monochromatic
#435633 #617D4A #7FA262 #9EB988 #BED0AF

Accessibility & contrast

On white

2.90
#7FA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7FA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA262
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA262#FFFFFF#000000##000000
##7FA2621.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7995D
Deuteranopia (green-blind)
#A29765
Tritanopia (blue-blind)
#809D92
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa262;
/* rgb */ color: rgb(127, 162, 98);
/* oklch */ color: oklch(67.0% 0.097 131.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd8f',
    500: '#7fa262',
    950: '#000000',
  },
}
SCSS
$custom: #7fa262;
$custom-light: #a5bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa262",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 92.813,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.09744,
    "h": 131.9
  },
  "luminance": 0.31235
}

Semantic roles & 50–950 ramp

primary
#7FA262
secondary
#B1A2BE
accent
#66C298
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA262

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

Preview Lab → · Contrast checker → · Palette generator →

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