#7E982B#7E982B

#7E982B is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.136 H 122.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E982B
RGBrgb(126, 152, 43)
HSLhsl(74, 56%, 38%)
HSVhsv(74, 72%, 60%)
CMYKcmyk(17.1%, 0%, 71.7%, 40.4%)
CIE-LABlab(59.04, -24.71, 51.44)
CIE-LCHlch(59.04, 57.07, 115.66°)
OKLaboklab(63.84% -0.0722 0.1152)
OKLCHoklch(63.84% 0.136 122.1)
XYZxyz(20.2687, 27.0665, 6.4416)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E982B #452B98
analogous
#987B2B #7E982B #47982B
triadic
#7E982B #2B7E98 #982B7E
tetradic
#7E982B #2B987B #452B98 #982B47
square
#7E982B #2B987B #452B98 #982B47
split-complementary
#7E982B #2B4798 #7B2B98
monochromatic
#2F3910 #56681E #7E982B #A5C739 #BBD569

Accessibility & contrast

On white

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

On black

6.41
#7E982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E982B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E982B#FFFFFF#000000##000000
##7E982B1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e982b;
/* rgb */ color: rgb(126, 152, 43);
/* oklch */ color: oklch(63.8% 0.136 122.1);
Tailwind
colors: {
  custom: {
    50: '#a6b66c',
    500: '#7e982b',
    950: '#000000',
  },
}
SCSS
$custom: #7e982b;
$custom-light: #a6b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e982b",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 74.312,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.13596,
    "h": 122.1
  },
  "luminance": 0.27067
}

Semantic roles & 50–950 ramp

primary
#7E982B
secondary
#7964BB
accent
#49DF6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E982B

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

Preview Lab → · Contrast checker → · Palette generator →

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