#7FA266#7FA266

#7FA266 is a light, moderate yellow-green. Relative luminance 0.313; OKLCH L 67.1% C 0.093 H 133.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA266
RGBrgb(127, 162, 102)
HSLhsl(95, 24%, 52%)
HSVhsv(95, 37%, 64%)
CMYKcmyk(21.6%, 0%, 37%, 36.5%)
CIE-LABlab(62.77, -23.19, 27.40)
CIE-LCHlch(62.77, 35.89, 130.24°)
OKLaboklab(67.09% -0.0633 0.0679)
OKLCHoklch(67.09% 0.093 133)
XYZxyz(24.0705, 31.3115, 17.3433)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA266 #8966A2
analogous
#9DA266 #7FA266 #66A26B
triadic
#7FA266 #667FA2 #A2667F
tetradic
#7FA266 #669DA2 #8966A2 #A26B66
square
#7FA266 #669DA2 #8966A2 #A26B66
split-complementary
#7FA266 #6B66A2 #A2669D
monochromatic
#445836 #617E4D #7FA266 #9FB98C #BFD0B2

Accessibility & contrast

On white

2.89
#7FA266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7FA266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA266
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA266#FFFFFF#000000##000000
##7FA2661.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79A62
Deuteranopia (green-blind)
#A19769
Tritanopia (blue-blind)
#809D93
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa266;
/* rgb */ color: rgb(127, 162, 102);
/* oklch */ color: oklch(67.1% 0.093 133.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd92',
    500: '#7fa266',
    950: '#000000',
  },
}
SCSS
$custom: #7fa266;
$custom-light: #a5bd92;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa266",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 102
  },
  "hsl": {
    "h": 95,
    "s": 24.39,
    "l": 51.765
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.09285,
    "h": 133
  },
  "luminance": 0.31312
}

Semantic roles & 50–950 ramp

primary
#7FA266
secondary
#B4A5BF
accent
#67C19B
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA266

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

Preview Lab → · Contrast checker → · Palette generator →

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