#7FA246#7FA246

#7FA246 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.6% C 0.127 H 127.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7FA246
RGBrgb(127, 162, 70)
HSLhsl(83, 40%, 45%)
HSVhsv(83, 57%, 64%)
CMYKcmyk(21.6%, 0%, 56.8%, 36.5%)
CIE-LABlab(62.33, -27.07, 43.24)
CIE-LCHlch(62.33, 51.01, 122.05°)
OKLaboklab(66.6% -0.0763 0.1014)
OKLCHoklch(66.6% 0.127 127)
XYZxyz(22.7782, 30.7946, 10.5371)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA246 #6946A2
analogous
#A29746 #7FA246 #51A246
triadic
#7FA246 #467FA2 #A2467F
tetradic
#7FA246 #46A297 #6946A2 #A24651
square
#7FA246 #46A297 #6946A2 #A24651
split-complementary
#7FA246 #4651A2 #9746A2
monochromatic
#3C4D21 #5D7734 #7FA246 #9DBE68 #B9D092

Accessibility & contrast

On white

2.93
#7FA246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7FA246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA246
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA246#FFFFFF#000000##000000
##7FA2461.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983D
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#839B8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa246;
/* rgb */ color: rgb(127, 162, 70);
/* oklch */ color: oklch(66.6% 0.127 127.0);
Tailwind
colors: {
  custom: {
    50: '#a6bd7c',
    500: '#7fa246',
    950: '#000000',
  },
}
SCSS
$custom: #7fa246;
$custom-light: #a6bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa246",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 82.826,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.12687,
    "h": 127
  },
  "luminance": 0.30795
}

Semantic roles & 50–950 ramp

primary
#7FA246
secondary
#9C88BC
accent
#58D086
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA246

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

Preview Lab → · Contrast checker → · Palette generator →

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