#7FA328#7FA328

#7FA328 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.151 H 124.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA328
RGBrgb(127, 163, 40)
HSLhsl(78, 61%, 40%)
HSVhsv(78, 75%, 64%)
CMYKcmyk(22.1%, 0%, 75.5%, 36.1%)
CIE-LABlab(62.39, -29.81, 55.83)
CIE-LCHlch(62.39, 63.29, 118.10°)
OKLaboklab(66.56% -0.0865 0.1239)
OKLCHoklch(66.56% 0.151 124.9)
XYZxyz(22.2328, 30.8594, 6.7922)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA328 #4C28A3
analogous
#A38A28 #7FA328 #42A328
triadic
#7FA328 #287FA3 #A3287F
tetradic
#7FA328 #28A38A #4C28A3 #A32842
square
#7FA328 #28A38A #4C28A3 #A32842
split-complementary
#7FA328 #2842A3 #8A28A3
monochromatic
#324110 #59721C #7FA328 #A3CF3A #BADB6B

Accessibility & contrast

On white

2.93
#7FA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7FA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA328
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA328#FFFFFF#000000##000000
##7FA3281.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980D
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa328;
/* rgb */ color: rgb(127, 163, 40);
/* oklch */ color: oklch(66.6% 0.151 124.9);
Tailwind
colors: {
  custom: {
    50: '#a8be6b',
    500: '#7fa328',
    950: '#000000',
  },
}
SCSS
$custom: #7fa328;
$custom-light: #a8be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa328",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 77.561,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.15113,
    "h": 124.9
  },
  "luminance": 0.3086
}

Semantic roles & 50–950 ramp

primary
#7FA328
secondary
#8066C1
accent
#44E473
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA328

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

Preview Lab → · Contrast checker → · Palette generator →

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