#7E9E2F#7E9E2F

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

Color values

HEX#7E9E2F
RGBrgb(126, 158, 47)
HSLhsl(77, 54%, 40%)
HSVhsv(77, 70%, 62%)
CMYKcmyk(20.3%, 0%, 70.3%, 38%)
CIE-LABlab(60.86, -27.40, 51.72)
CIE-LCHlch(60.86, 58.53, 117.91°)
OKLaboklab(65.33% -0.0792 0.1164)
OKLCHoklch(65.33% 0.141 124.2)
XYZxyz(21.3443, 29.0944, 7.1801)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E2F #4F2F9E
analogous
#9E862F #7E9E2F #479E2F
triadic
#7E9E2F #2F7E9E #9E2F7E
tetradic
#7E9E2F #2F9E86 #4F2F9E #9E2F47
square
#7E9E2F #2F9E86 #4F2F9E #9E2F47
split-complementary
#7E9E2F #2F479E #862F9E
monochromatic
#334013 #586F21 #7E9E2F #A1C743 #B9D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9E2F#FFFFFF#000000##000000
##7E9E2F1.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)
#A7941E
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#849688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e2f;
/* rgb */ color: rgb(126, 158, 47);
/* oklch */ color: oklch(65.3% 0.141 124.2);
Tailwind
colors: {
  custom: {
    50: '#a6ba6e',
    500: '#7e9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e2f;
$custom-light: #a6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e2f",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 77.297,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65329,
    "c": 0.14084,
    "h": 124.2
  },
  "luminance": 0.29095
}

Semantic roles & 50–950 ramp

primary
#7E9E2F
secondary
#836CBD
accent
#4ADE75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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