#7E9E2E#7E9E2E

#7E9E2E is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.3% C 0.142 H 124.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7E9E2E
RGBrgb(126, 158, 46)
HSLhsl(77, 55%, 40%)
HSVhsv(77, 71%, 62%)
CMYKcmyk(20.3%, 0%, 70.9%, 38%)
CIE-LABlab(60.86, -27.46, 52.11)
CIE-LCHlch(60.86, 58.90, 117.79°)
OKLaboklab(65.32% -0.0795 0.1171)
OKLCHoklch(65.32% 0.142 124.2)
XYZxyz(21.3244, 29.0864, 7.0750)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E2E #4E2E9E
analogous
#9E862E #7E9E2E #469E2E
triadic
#7E9E2E #2E7E9E #9E2E7E
tetradic
#7E9E2E #2E9E86 #4E2E9E #9E2E46
square
#7E9E2E #2E9E86 #4E2E9E #9E2E46
split-complementary
#7E9E2E #2E469E #862E9E
monochromatic
#323F12 #586F20 #7E9E2E #A1C841 #B9D671

Accessibility & contrast

On white

3.08
#7E9E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7E9E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E2E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E2E#FFFFFF#000000##000000
##7E9E2E1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#849688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e2e;
/* rgb */ color: rgb(126, 158, 46);
/* oklch */ color: oklch(65.3% 0.142 124.2);
Tailwind
colors: {
  custom: {
    50: '#a6ba6e',
    500: '#7e9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e2e;
$custom-light: #a6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e2e",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 77.143,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.14153,
    "h": 124.2
  },
  "luminance": 0.29087
}

Semantic roles & 50–950 ramp

primary
#7E9E2E
secondary
#826BBD
accent
#4ADE74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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