#7E9D2E#7E9D2E

#7E9D2E is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.1% C 0.140 H 123.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7E9D2E
RGBrgb(126, 157, 46)
HSLhsl(77, 55%, 40%)
HSVhsv(77, 71%, 62%)
CMYKcmyk(19.7%, 0%, 70.7%, 38.4%)
CIE-LABlab(60.56, -26.98, 51.81)
CIE-LCHlch(60.56, 58.41, 117.51°)
OKLaboklab(65.08% -0.0782 0.1165)
OKLCHoklch(65.08% 0.14 123.9)
XYZxyz(21.1545, 28.7467, 7.0184)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D2E #4D2E9D
analogous
#9D852E #7E9D2E #469D2E
triadic
#7E9D2E #2E7E9D #9D2E7E
tetradic
#7E9D2E #2E9D85 #4D2E9D #9D2E46
square
#7E9D2E #2E9D85 #4D2E9D #9D2E46
split-complementary
#7E9D2E #2E469D #852E9D
monochromatic
#323E12 #586E20 #7E9D2E #A2C741 #B9D570

Accessibility & contrast

On white

3.11
#7E9D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7E9D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D2E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D2E#FFFFFF#000000##000000
##7E9D2E1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931C
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#849587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d2e;
/* rgb */ color: rgb(126, 157, 46);
/* oklch */ color: oklch(65.1% 0.140 123.9);
Tailwind
colors: {
  custom: {
    50: '#a6ba6e',
    500: '#7e9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d2e;
$custom-light: #a6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d2e",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 76.757,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.14026,
    "h": 123.9
  },
  "luminance": 0.28747
}

Semantic roles & 50–950 ramp

primary
#7E9D2E
secondary
#816ABD
accent
#4ADE73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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