#7E9745#7E9745

#7E9745 is a light, moderate yellow-green. Relative luminance 0.270; OKLCH L 63.9% C 0.113 H 123.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7E9745
RGBrgb(126, 151, 69)
HSLhsl(78, 37%, 43%)
HSVhsv(78, 54%, 59%)
CMYKcmyk(16.6%, 0%, 54.3%, 40.8%)
CIE-LABlab(58.97, -22.12, 39.79)
CIE-LCHlch(58.97, 45.53, 119.06°)
OKLaboklab(63.87% -0.0625 0.0939)
OKLCHoklch(63.87% 0.113 123.7)
XYZxyz(20.7450, 26.9984, 9.7474)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9745 #5E4597
analogous
#978745 #7E9745 #559745
triadic
#7E9745 #457E97 #97457E
tetradic
#7E9745 #459787 #5E4597 #974555
square
#7E9745 #459787 #5E4597 #974555
split-complementary
#7E9745 #455597 #874597
monochromatic
#38431F #5B6D32 #7E9745 #9DB762 #B7CA8C

Accessibility & contrast

On white

3.28
#7E9745 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7E9745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9745
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9745#FFFFFF#000000##000000
##7E97451.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3D
Deuteranopia (green-blind)
#9B8E4A
Tritanopia (blue-blind)
#839085
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9745;
/* rgb */ color: rgb(126, 151, 69);
/* oklch */ color: oklch(63.9% 0.113 123.7);
Tailwind
colors: {
  custom: {
    50: '#a5b57b',
    500: '#7e9745',
    950: '#000000',
  },
}
SCSS
$custom: #7e9745;
$custom-light: #a5b57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9745",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 69
  },
  "hsl": {
    "h": 78.293,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.63868,
    "c": 0.11275,
    "h": 123.7
  },
  "luminance": 0.26999
}

Semantic roles & 50–950 ramp

primary
#7E9745
secondary
#9282B6
accent
#5BCD7E
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7E9745

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

Preview Lab → · Contrast checker → · Palette generator →

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