#7E9845#7E9845

#7E9845 is a light, moderate yellow-green. Relative luminance 0.273; OKLCH L 64.1% C 0.114 H 124.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7E9845
RGBrgb(126, 152, 69)
HSLhsl(79, 38%, 43%)
HSVhsv(79, 55%, 60%)
CMYKcmyk(17.1%, 0%, 54.6%, 40.4%)
CIE-LABlab(59.27, -22.62, 40.14)
CIE-LCHlch(59.27, 46.08, 119.40°)
OKLaboklab(64.11% -0.0639 0.0946)
OKLCHoklch(64.11% 0.114 124)
XYZxyz(20.9067, 27.3216, 9.8012)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9845 #5F4598
analogous
#988845 #7E9845 #549845
triadic
#7E9845 #457E98 #98457E
tetradic
#7E9845 #459888 #5F4598 #984554
square
#7E9845 #459888 #5F4598 #984554
split-complementary
#7E9845 #455498 #884598
monochromatic
#38441F #5B6E32 #7E9845 #9DB862 #B7CB8C

Accessibility & contrast

On white

3.25
#7E9845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7E9845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9845
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9845#FFFFFF#000000##000000
##7E98451.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F3D
Deuteranopia (green-blind)
#9C8E4A
Tritanopia (blue-blind)
#839185
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9845;
/* rgb */ color: rgb(126, 152, 69);
/* oklch */ color: oklch(64.1% 0.114 124.0);
Tailwind
colors: {
  custom: {
    50: '#a5b67b',
    500: '#7e9845',
    950: '#000000',
  },
}
SCSS
$custom: #7e9845;
$custom-light: #a5b67b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9845",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 69
  },
  "hsl": {
    "h": 78.795,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.64107,
    "c": 0.11417,
    "h": 124
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#7E9845
secondary
#9382B6
accent
#5ACE7E
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7E9845

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

Preview Lab → · Contrast checker → · Palette generator →

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