#7FA532#7FA532

#7FA532 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.1% C 0.147 H 126.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA532
RGBrgb(127, 165, 50)
HSLhsl(80, 53%, 42%)
HSVhsv(80, 70%, 65%)
CMYKcmyk(23%, 0%, 69.7%, 35.3%)
CIE-LABlab(63.05, -30.16, 52.79)
CIE-LCHlch(63.05, 60.80, 119.74°)
OKLaboklab(67.12% -0.0866 0.1191)
OKLCHoklch(67.12% 0.147 126)
XYZxyz(22.7834, 31.6523, 7.9262)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA532 #5832A5
analogous
#A59232 #7FA532 #46A532
triadic
#7FA532 #327FA5 #A5327F
tetradic
#7FA532 #32A592 #5832A5 #A53246
square
#7FA532 #32A592 #5832A5 #A53246
split-complementary
#7FA532 #3246A5 #9232A5
monochromatic
#374716 #5B7624 #7FA532 #9FC94C #B8D77B

Accessibility & contrast

On white

2.86
#7FA532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7FA532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA532
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA532#FFFFFF#000000##000000
##7FA5321.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa532;
/* rgb */ color: rgb(127, 165, 50);
/* oklch */ color: oklch(67.1% 0.147 126.0);
Tailwind
colors: {
  custom: {
    50: '#a7c071',
    500: '#7fa532',
    950: '#000000',
  },
}
SCSS
$custom: #7fa532;
$custom-light: #a7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa532",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 79.826,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.14728,
    "h": 126
  },
  "luminance": 0.31653
}

Semantic roles & 50–950 ramp

primary
#7FA532
secondary
#8C73BF
accent
#4BDD7B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA532

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

Preview Lab → · Contrast checker → · Palette generator →

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