#7E982C#7E982C

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

Color values

HEX#7E982C
RGBrgb(126, 152, 44)
HSLhsl(74, 55%, 38%)
HSVhsv(74, 71%, 60%)
CMYKcmyk(17.1%, 0%, 71.1%, 40.4%)
CIE-LABlab(59.04, -24.65, 51.06)
CIE-LCHlch(59.04, 56.70, 115.77°)
OKLaboklab(63.85% -0.0719 0.1146)
OKLCHoklch(63.85% 0.135 122.1)
XYZxyz(20.2873, 27.0739, 6.5394)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E982C #462C98
analogous
#987C2C #7E982C #48982C
triadic
#7E982C #2C7E98 #982C7E
tetradic
#7E982C #2C987C #462C98 #982C48
square
#7E982C #2C987C #462C98 #982C48
split-complementary
#7E982C #2C4898 #7C2C98
monochromatic
#2F3911 #57691E #7E982C #A5C63B #BBD46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E982C#FFFFFF#000000##000000
##7E982C1.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)
#A18F1A
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#859083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e982c;
/* rgb */ color: rgb(126, 152, 44);
/* oklch */ color: oklch(63.8% 0.135 122.1);
Tailwind
colors: {
  custom: {
    50: '#a6b66c',
    500: '#7e982c',
    950: '#000000',
  },
}
SCSS
$custom: #7e982c;
$custom-light: #a6b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e982c",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 74.444,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.13528,
    "h": 122.1
  },
  "luminance": 0.27074
}

Semantic roles & 50–950 ramp

primary
#7E982C
secondary
#7A65BB
accent
#49DE6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E982C

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

Preview Lab → · Contrast checker → · Palette generator →

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