#7E8D45#7E8D45

#7E8D45 is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.5% C 0.099 H 119.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7E8D45
RGBrgb(126, 141, 69)
HSLhsl(73, 34%, 41%)
HSVhsv(73, 51%, 55%)
CMYKcmyk(10.6%, 0%, 51.1%, 44.7%)
CIE-LABlab(56.00, -16.96, 36.27)
CIE-LCHlch(56.00, 40.04, 115.06°)
OKLaboklab(61.48% -0.048 0.0862)
OKLCHoklch(61.48% 0.099 119.1)
XYZxyz(19.2034, 23.9151, 9.2335)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D45 #54458D
analogous
#8D7845 #7E8D45 #5A8D45
triadic
#7E8D45 #457E8D #8D457E
tetradic
#7E8D45 #458D78 #54458D #8D455A
square
#7E8D45 #458D78 #54458D #8D455A
split-complementary
#7E8D45 #455A8D #78458D
monochromatic
#353B1D #596431 #7E8D45 #9FB15F #B8C588

Accessibility & contrast

On white

3.63
#7E8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7E8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D45
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D45#FFFFFF#000000##000000
##7E8D451.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863F
Deuteranopia (green-blind)
#938749
Tritanopia (blue-blind)
#84877C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8d45;
/* rgb */ color: rgb(126, 141, 69);
/* oklch */ color: oklch(61.5% 0.099 119.1);
Tailwind
colors: {
  custom: {
    50: '#a5ae7a',
    500: '#7e8d45',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d45;
$custom-light: #a5ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d45",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 72.5,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.09865,
    "h": 119.1
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#7E8D45
secondary
#887EB0
accent
#5DCA74
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7E8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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