#7FA632#7FA632

#7FA632 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.4% C 0.149 H 126.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7FA632
RGBrgb(127, 166, 50)
HSLhsl(80, 54%, 42%)
HSVhsv(80, 70%, 65%)
CMYKcmyk(23.5%, 0%, 69.9%, 34.9%)
CIE-LABlab(63.35, -30.63, 53.10)
CIE-LCHlch(63.35, 61.30, 119.98°)
OKLaboklab(67.37% -0.0879 0.1198)
OKLCHoklch(67.37% 0.149 126.3)
XYZxyz(22.9644, 32.0144, 7.9865)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA632 #5932A6
analogous
#A69332 #7FA632 #45A632
triadic
#7FA632 #327FA6 #A6327F
tetradic
#7FA632 #32A693 #5932A6 #A63245
square
#7FA632 #32A693 #5932A6 #A63245
split-complementary
#7FA632 #3245A6 #9332A6
monochromatic
#374816 #5B7724 #7FA632 #9FC94C #B8D77B

Accessibility & contrast

On white

2.84
#7FA632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#7FA632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA632
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA632#FFFFFF#000000##000000
##7FA6321.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B20
Deuteranopia (green-blind)
#A9993C
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa632;
/* rgb */ color: rgb(127, 166, 50);
/* oklch */ color: oklch(67.4% 0.149 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c071',
    500: '#7fa632',
    950: '#000000',
  },
}
SCSS
$custom: #7fa632;
$custom-light: #a7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa632",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 50
  },
  "hsl": {
    "h": 80.172,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67367,
    "c": 0.14857,
    "h": 126.3
  },
  "luminance": 0.32015
}

Semantic roles & 50–950 ramp

primary
#7FA632
secondary
#8D74C0
accent
#4BDD7C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA632

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

Preview Lab → · Contrast checker → · Palette generator →

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