#7E982D#7E982D

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

Color values

HEX#7E982D
RGBrgb(126, 152, 45)
HSLhsl(75, 54%, 39%)
HSVhsv(75, 70%, 60%)
CMYKcmyk(17.1%, 0%, 70.4%, 40.4%)
CIE-LABlab(59.05, -24.58, 50.67)
CIE-LCHlch(59.05, 56.32, 115.88°)
OKLaboklab(63.86% -0.0717 0.1139)
OKLCHoklch(63.86% 0.135 122.2)
XYZxyz(20.3063, 27.0815, 6.6396)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E982D #472D98
analogous
#987C2D #7E982D #48982D
triadic
#7E982D #2D7E98 #982D7E
tetradic
#7E982D #2D987C #472D98 #982D48
square
#7E982D #2D987C #472D98 #982D48
split-complementary
#7E982D #2D4898 #7C2D98
monochromatic
#303A11 #57691F #7E982D #A4C53D #BAD36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E982D#FFFFFF#000000##000000
##7E982D1.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)
#A18F1C
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#859083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e982d;
/* rgb */ color: rgb(126, 152, 45);
/* oklch */ color: oklch(63.9% 0.135 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b66d',
    500: '#7e982d',
    950: '#000000',
  },
}
SCSS
$custom: #7e982d;
$custom-light: #a6b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e982d",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 74.579,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.13459,
    "h": 122.2
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#7E982D
secondary
#7B66BA
accent
#4ADE6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E982D

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

Preview Lab → · Contrast checker → · Palette generator →

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