#7E9C2E#7E9C2E

#7E9C2E is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.139 H 123.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E9C2E
RGBrgb(126, 156, 46)
HSLhsl(76, 54%, 40%)
HSVhsv(76, 71%, 61%)
CMYKcmyk(19.2%, 0%, 70.5%, 38.8%)
CIE-LABlab(60.26, -26.49, 51.50)
CIE-LCHlch(60.26, 57.92, 117.22°)
OKLaboklab(64.83% -0.0768 0.1158)
OKLCHoklch(64.83% 0.139 123.6)
XYZxyz(20.9860, 28.4097, 6.9622)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9C2E #4C2E9C
analogous
#9C832E #7E9C2E #479C2E
triadic
#7E9C2E #2E7E9C #9C2E7E
tetradic
#7E9C2E #2E9C83 #4C2E9C #9C2E47
square
#7E9C2E #2E9C83 #4C2E9C #9C2E47
split-complementary
#7E9C2E #2E479C #832E9C
monochromatic
#323D12 #586D20 #7E9C2E #A2C740 #B9D570

Accessibility & contrast

On white

3.14
#7E9C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7E9C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9C2E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9C2E#FFFFFF#000000##000000
##7E9C2E1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#849486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e9c2e;
/* rgb */ color: rgb(126, 156, 46);
/* oklch */ color: oklch(64.8% 0.139 123.6);
Tailwind
colors: {
  custom: {
    50: '#a6b96e',
    500: '#7e9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9c2e;
$custom-light: #a6b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9c2e",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 76.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64835,
    "c": 0.13898,
    "h": 123.6
  },
  "luminance": 0.2841
}

Semantic roles & 50–950 ramp

primary
#7E9C2E
secondary
#806ABC
accent
#4ADE72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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