#7FA431#7FA431

#7FA431 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.9% C 0.147 H 125.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA431
RGBrgb(127, 164, 49)
HSLhsl(79, 54%, 42%)
HSVhsv(79, 70%, 64%)
CMYKcmyk(22.6%, 0%, 70.1%, 35.7%)
CIE-LABlab(62.75, -29.75, 52.87)
CIE-LCHlch(62.75, 60.66, 119.36°)
OKLaboklab(66.87% -0.0856 0.1191)
OKLCHoklch(66.87% 0.147 125.7)
XYZxyz(22.5824, 31.2844, 7.7539)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA431 #5631A4
analogous
#A49031 #7FA431 #46A431
triadic
#7FA431 #317FA4 #A4317F
tetradic
#7FA431 #31A490 #5631A4 #A43146
square
#7FA431 #31A490 #5631A4 #A43146
split-complementary
#7FA431 #3146A4 #9031A4
monochromatic
#364615 #5B7523 #7FA431 #A0C949 #B9D779

Accessibility & contrast

On white

2.89
#7FA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7FA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA431
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA431#FFFFFF#000000##000000
##7FA4311.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#A8973B
Tritanopia (blue-blind)
#849C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa431;
/* rgb */ color: rgb(127, 164, 49);
/* oklch */ color: oklch(66.9% 0.147 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7bf70',
    500: '#7fa431',
    950: '#000000',
  },
}
SCSS
$custom: #7fa431;
$custom-light: #a7bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa431",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 79.304,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66873,
    "c": 0.14668,
    "h": 125.7
  },
  "luminance": 0.31285
}

Semantic roles & 50–950 ramp

primary
#7FA431
secondary
#8B72BF
accent
#4ADD7A
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA431

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

Preview Lab → · Contrast checker → · Palette generator →

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