#7FA348#7FA348

#7FA348 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.9% C 0.126 H 127.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7FA348
RGBrgb(127, 163, 72)
HSLhsl(84, 39%, 46%)
HSVhsv(84, 56%, 64%)
CMYKcmyk(22.1%, 0%, 55.8%, 36.1%)
CIE-LABlab(62.65, -27.36, 42.65)
CIE-LCHlch(62.65, 50.67, 122.68°)
OKLaboklab(66.86% -0.0769 0.1003)
OKLCHoklch(66.86% 0.126 127.5)
XYZxyz(23.0192, 31.1739, 10.9340)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA348 #6C48A3
analogous
#A39948 #7FA348 #52A348
triadic
#7FA348 #487FA3 #A3487F
tetradic
#7FA348 #48A399 #6C48A3 #A34852
square
#7FA348 #48A399 #6C48A3 #A34852
split-complementary
#7FA348 #4852A3 #9948A3
monochromatic
#3D4E22 #5E7935 #7FA348 #9DBD6B #B9D095

Accessibility & contrast

On white

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

On black

7.23
#7FA348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA348
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA348#FFFFFF#000000##000000
##7FA3481.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA993F
Deuteranopia (green-blind)
#A5974E
Tritanopia (blue-blind)
#839C8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa348;
/* rgb */ color: rgb(127, 163, 72);
/* oklch */ color: oklch(66.9% 0.126 127.5);
Tailwind
colors: {
  custom: {
    50: '#a6be7e',
    500: '#7fa348',
    950: '#000000',
  },
}
SCSS
$custom: #7fa348;
$custom-light: #a6be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa348",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 83.736,
    "s": 38.723,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66864,
    "c": 0.12639,
    "h": 127.5
  },
  "luminance": 0.31174
}

Semantic roles & 50–950 ramp

primary
#7FA348
secondary
#9E8BBC
accent
#59CF88
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA348

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

Preview Lab → · Contrast checker → · Palette generator →

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