#7E9F2E#7E9F2E

#7E9F2E is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.6% C 0.143 H 124.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7E9F2E
RGBrgb(126, 159, 46)
HSLhsl(78, 55%, 40%)
HSVhsv(78, 71%, 62%)
CMYKcmyk(20.8%, 0%, 71.1%, 37.6%)
CIE-LABlab(61.16, -27.95, 52.41)
CIE-LCHlch(61.16, 59.40, 118.07°)
OKLaboklab(65.56% -0.0808 0.1177)
OKLCHoklch(65.56% 0.143 124.5)
XYZxyz(21.4956, 29.4289, 7.1321)
Luminance0.2943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F2E #4F2E9F
analogous
#9F872E #7E9F2E #469F2E
triadic
#7E9F2E #2E7E9F #9F2E7E
tetradic
#7E9F2E #2E9F87 #4F2E9F #9F2E46
square
#7E9F2E #2E9F87 #4F2E9F #9F2E46
split-complementary
#7E9F2E #2E469F #872E9F
monochromatic
#334013 #587020 #7E9F2E #A1C842 #B9D671

Accessibility & contrast

On white

3.05
#7E9F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#7E9F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F2E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F2E#FFFFFF#000000##000000
##7E9F2E1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951B
Deuteranopia (green-blind)
#A49338
Tritanopia (blue-blind)
#849789
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e9f2e;
/* rgb */ color: rgb(126, 159, 46);
/* oklch */ color: oklch(65.6% 0.143 124.5);
Tailwind
colors: {
  custom: {
    50: '#a7bb6e',
    500: '#7e9f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f2e;
$custom-light: #a7bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f2e",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 77.522,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65564,
    "c": 0.1428,
    "h": 124.5
  },
  "luminance": 0.29429
}

Semantic roles & 50–950 ramp

primary
#7E9F2E
secondary
#836BBE
accent
#49DE75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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