#7E982F#7E982F

#7E982F is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.133 H 122.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7E982F
RGBrgb(126, 152, 47)
HSLhsl(75, 53%, 39%)
HSVhsv(75, 69%, 60%)
CMYKcmyk(17.1%, 0%, 69.1%, 40.4%)
CIE-LABlab(59.06, -24.45, 49.89)
CIE-LCHlch(59.06, 55.56, 116.11°)
OKLaboklab(63.88% -0.0711 0.1126)
OKLCHoklch(63.88% 0.133 122.3)
XYZxyz(20.3458, 27.0973, 6.8472)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E982F #492F98
analogous
#987E2F #7E982F #4A982F
triadic
#7E982F #2F7E98 #982F7E
tetradic
#7E982F #2F987E #492F98 #982F4A
square
#7E982F #2F987E #492F98 #982F4A
split-complementary
#7E982F #2F4A98 #7E2F98
monochromatic
#313B12 #576921 #7E982F #A3C440 #BAD26F

Accessibility & contrast

On white

3.27
#7E982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7E982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E982F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E982F#FFFFFF#000000##000000
##7E982F1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1F
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#859083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e982f;
/* rgb */ color: rgb(126, 152, 47);
/* oklch */ color: oklch(63.9% 0.133 122.3);
Tailwind
colors: {
  custom: {
    50: '#a6b66e',
    500: '#7e982f',
    950: '#000000',
  },
}
SCSS
$custom: #7e982f;
$custom-light: #a6b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e982f",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 74.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.13316,
    "h": 122.3
  },
  "luminance": 0.27097
}

Semantic roles & 50–950 ramp

primary
#7E982F
secondary
#7D69BA
accent
#4CDC6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E982F

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

Preview Lab → · Contrast checker → · Palette generator →

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