#7E941E#7E941E

#7E941E is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.8% C 0.139 H 120.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7E941E
RGBrgb(126, 148, 30)
HSLhsl(71, 66%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.9%, 0%, 79.7%, 42%)
CIE-LABlab(57.76, -23.39, 54.76)
CIE-LCHlch(57.76, 59.55, 113.13°)
OKLaboklab(62.79% -0.0697 0.12)
OKLCHoklch(62.79% 0.139 120.2)
XYZxyz(19.4288, 25.7092, 5.1669)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E941E #341E94
analogous
#946F1E #7E941E #43941E
triadic
#7E941E #1E7E94 #941E7E
tetradic
#7E941E #1E946F #341E94 #941E43
square
#7E941E #1E946F #341E94 #941E43
split-complementary
#7E941E #1E4394 #6F1E94
monochromatic
#272E09 #536114 #7E941E #A9C728 #C2DC51

Accessibility & contrast

On white

3.42
#7E941E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7E941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E941E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E941E#FFFFFF#000000##000000
##7E941E1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#868C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e941e;
/* rgb */ color: rgb(126, 148, 30);
/* oklch */ color: oklch(62.8% 0.139 120.2);
Tailwind
colors: {
  custom: {
    50: '#a7b365',
    500: '#7e941e',
    950: '#000000',
  },
}
SCSS
$custom: #7e941e;
$custom-light: #a7b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7e941e",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 71.186,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.13875,
    "h": 120.2
  },
  "luminance": 0.25709
}

Semantic roles & 50–950 ramp

primary
#7E941E
secondary
#644FBF
accent
#3FE95E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E941E

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

Preview Lab → · Contrast checker → · Palette generator →

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