#7E9E2D#7E9E2D

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

Color values

HEX#7E9E2D
RGBrgb(126, 158, 45)
HSLhsl(77, 56%, 40%)
HSVhsv(77, 72%, 62%)
CMYKcmyk(20.3%, 0%, 71.5%, 38%)
CIE-LABlab(60.85, -27.53, 52.49)
CIE-LCHlch(60.85, 59.27, 117.67°)
OKLaboklab(65.31% -0.0798 0.1177)
OKLCHoklch(65.31% 0.142 124.1)
XYZxyz(21.3049, 29.0786, 6.9724)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E2D #4D2D9E
analogous
#9E852D #7E9E2D #469E2D
triadic
#7E9E2D #2D7E9E #9E2D7E
tetradic
#7E9E2D #2D9E85 #4D2D9E #9E2D46
square
#7E9E2D #2D9E85 #4D2D9E #9E2D46
split-complementary
#7E9E2D #2D469E #852D9E
monochromatic
#323F12 #586E1F #7E9E2D #A2C940 #B9D66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9E2D#FFFFFF#000000##000000
##7E9E2D1.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)
#A7941A
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#849688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e2d;
/* rgb */ color: rgb(126, 158, 45);
/* oklch */ color: oklch(65.3% 0.142 124.1);
Tailwind
colors: {
  custom: {
    50: '#a7ba6d',
    500: '#7e9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e2d;
$custom-light: #a7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e2d",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 76.991,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65313,
    "c": 0.14221,
    "h": 124.1
  },
  "luminance": 0.29079
}

Semantic roles & 50–950 ramp

primary
#7E9E2D
secondary
#8169BD
accent
#49DF73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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