#7FA732#7FA732

#7FA732 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.6% C 0.150 H 126.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7FA732
RGBrgb(127, 167, 50)
HSLhsl(81, 54%, 43%)
HSVhsv(81, 70%, 65%)
CMYKcmyk(24%, 0%, 70.1%, 34.5%)
CIE-LABlab(63.66, -31.10, 53.40)
CIE-LCHlch(63.66, 61.80, 120.22°)
OKLaboklab(67.61% -0.0892 0.1204)
OKLCHoklch(67.61% 0.15 126.5)
XYZxyz(23.1469, 32.3794, 8.0473)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA732 #5A32A7
analogous
#A79532 #7FA732 #44A732
triadic
#7FA732 #327FA7 #A7327F
tetradic
#7FA732 #32A795 #5A32A7 #A73244
square
#7FA732 #32A795 #5A32A7 #A73244
split-complementary
#7FA732 #3244A7 #9532A7
monochromatic
#374916 #5B7824 #7FA732 #9FCA4D #B8D87C

Accessibility & contrast

On white

2.81
#7FA732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7FA732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA732
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA732#FFFFFF#000000##000000
##7FA7321.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#849F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa732;
/* rgb */ color: rgb(127, 167, 50);
/* oklch */ color: oklch(67.6% 0.150 126.5);
Tailwind
colors: {
  custom: {
    50: '#a7c171',
    500: '#7fa732',
    950: '#000000',
  },
}
SCSS
$custom: #7fa732;
$custom-light: #a7c171;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa732",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 80.513,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67611,
    "c": 0.14985,
    "h": 126.5
  },
  "luminance": 0.3238
}

Semantic roles & 50–950 ramp

primary
#7FA732
secondary
#8E74C0
accent
#4BDD7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA732

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

Preview Lab → · Contrast checker → · Palette generator →

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