#7FA045#7FA045

#7FA045 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.125 H 126.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA045
RGBrgb(127, 160, 69)
HSLhsl(82, 40%, 45%)
HSVhsv(82, 57%, 63%)
CMYKcmyk(20.6%, 0%, 56.9%, 37.3%)
CIE-LABlab(61.73, -26.19, 43.01)
CIE-LCHlch(61.73, 50.36, 121.34°)
OKLaboklab(66.1% -0.0739 0.1008)
OKLCHoklch(66.1% 0.125 126.3)
XYZxyz(22.3974, 30.0830, 10.2557)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA045 #6645A0
analogous
#A09345 #7FA045 #52A045
triadic
#7FA045 #457FA0 #A0457F
tetradic
#7FA045 #45A093 #6645A0 #A04552
square
#7FA045 #45A093 #6645A0 #A04552
split-complementary
#7FA045 #4552A0 #9345A0
monochromatic
#3B4A20 #5D7533 #7FA045 #9DBD65 #B8CF90

Accessibility & contrast

On white

2.99
#7FA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA045
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA045#FFFFFF#000000##000000
##7FA0451.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8963C
Deuteranopia (green-blind)
#A3954B
Tritanopia (blue-blind)
#83998C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa045;
/* rgb */ color: rgb(127, 160, 69);
/* oklch */ color: oklch(66.1% 0.125 126.3);
Tailwind
colors: {
  custom: {
    50: '#a6bc7c',
    500: '#7fa045',
    950: '#000000',
  },
}
SCSS
$custom: #7fa045;
$custom-light: #a6bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa045",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 81.758,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.12499,
    "h": 126.3
  },
  "luminance": 0.30083
}

Semantic roles & 50–950 ramp

primary
#7FA045
secondary
#9986BB
accent
#58D083
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA045

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

Preview Lab → · Contrast checker → · Palette generator →

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