#7FA65C#7FA65C

#7FA65C is a light, moderate yellow-green. Relative luminance 0.326; OKLCH L 67.9% C 0.110 H 131.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7FA65C
RGBrgb(127, 166, 92)
HSLhsl(92, 29%, 51%)
HSVhsv(92, 45%, 65%)
CMYKcmyk(23.5%, 0%, 44.6%, 34.9%)
CIE-LABlab(63.80, -26.54, 34.00)
CIE-LCHlch(63.80, 43.14, 127.97°)
OKLaboklab(67.87% -0.0731 0.0827)
OKLCHoklch(67.87% 0.11 131.5)
XYZxyz(24.3200, 32.5566, 15.1259)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA65C #835CA6
analogous
#A4A65C #7FA65C #5CA65E
triadic
#7FA65C #5C7FA6 #A65C7F
tetradic
#7FA65C #5CA4A6 #835CA6 #A65E5C
square
#7FA65C #5CA4A6 #835CA6 #A65E5C
split-complementary
#7FA65C #5E5CA6 #A65CA4
monochromatic
#435830 #617F46 #7FA65C #9EBC84 #BDD1AB

Accessibility & contrast

On white

2.80
#7FA65C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7FA65C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA65C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA65C#FFFFFF#000000##000000
##7FA65C1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C56
Deuteranopia (green-blind)
#A69A60
Tritanopia (blue-blind)
#81A194
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa65c;
/* rgb */ color: rgb(127, 166, 92);
/* oklch */ color: oklch(67.9% 0.110 131.5);
Tailwind
colors: {
  custom: {
    50: '#a5c08b',
    500: '#7fa65c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa65c;
$custom-light: #a5c08b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa65c",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 92
  },
  "hsl": {
    "h": 91.622,
    "s": 29.365,
    "l": 50.588
  },
  "oklch": {
    "l": 0.67871,
    "c": 0.11037,
    "h": 131.5
  },
  "luminance": 0.32557
}

Semantic roles & 50–950 ramp

primary
#7FA65C
secondary
#B09EBF
accent
#62C697
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA65C

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

Preview Lab → · Contrast checker → · Palette generator →

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