#7E8F2E#7E8F2E

#7E8F2E is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.122 H 118.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7E8F2E
RGBrgb(126, 143, 46)
HSLhsl(71, 51%, 37%)
HSVhsv(71, 68%, 56%)
CMYKcmyk(11.9%, 0%, 67.8%, 43.9%)
CIE-LABlab(56.37, -19.97, 47.52)
CIE-LCHlch(56.37, 51.55, 112.80°)
OKLaboklab(61.7% -0.0588 0.1074)
OKLCHoklch(61.7% 0.122 118.7)
XYZxyz(18.9201, 24.2779, 6.2736)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8F2E #3F2E8F
analogous
#8F6F2E #7E8F2E #4E8F2E
triadic
#7E8F2E #2E7E8F #8F2E7E
tetradic
#7E8F2E #2E8F6F #3F2E8F #8F2E4E
square
#7E8F2E #2E8F6F #3F2E8F #8F2E4E
split-complementary
#7E8F2E #2E4E8F #6F2E8F
monochromatic
#2C3210 #55611F #7E8F2E #A7BD3D #BDCF69

Accessibility & contrast

On white

3.59
#7E8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7E8F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8F2E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8F2E#FFFFFF#000000##000000
##7E8F2E1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988720
Deuteranopia (green-blind)
#968835
Tritanopia (blue-blind)
#85877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8f2e;
/* rgb */ color: rgb(126, 143, 46);
/* oklch */ color: oklch(61.7% 0.122 118.7);
Tailwind
colors: {
  custom: {
    50: '#a6af6c',
    500: '#7e8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e8f2e;
$custom-light: #a6af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8f2e",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 70.515,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.12248,
    "h": 118.7
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#7E8F2E
secondary
#7263B6
accent
#4DDB66
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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