#7E8D3E#7E8D3E

#7E8D3E is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.106 H 118.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E8D3E
RGBrgb(126, 141, 62)
HSLhsl(71, 39%, 40%)
HSVhsv(71, 56%, 55%)
CMYKcmyk(10.6%, 0%, 56%, 44.7%)
CIE-LABlab(55.92, -17.65, 39.69)
CIE-LCHlch(55.92, 43.44, 113.98°)
OKLaboklab(61.39% -0.0506 0.0929)
OKLCHoklch(61.39% 0.106 118.6)
XYZxyz(18.9988, 23.8333, 8.1559)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D3E #4D3E8D
analogous
#8D743E #7E8D3E #578D3E
triadic
#7E8D3E #3E7E8D #8D3E7E
tetradic
#7E8D3E #3E8D74 #4D3E8D #8D3E57
square
#7E8D3E #3E8D74 #4D3E8D #8D3E57
split-complementary
#7E8D3E #3E578D #743E8D
monochromatic
#323819 #58622B #7E8D3E #A2B454 #B9C77F

Accessibility & contrast

On white

3.64
#7E8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7E8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D3E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D3E#FFFFFF#000000##000000
##7E8D3E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958636
Deuteranopia (green-blind)
#948643
Tritanopia (blue-blind)
#85867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8d3e;
/* rgb */ color: rgb(126, 141, 62);
/* oklch */ color: oklch(61.4% 0.106 118.6);
Tailwind
colors: {
  custom: {
    50: '#a5ae76',
    500: '#7e8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d3e;
$custom-light: #a5ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d3e",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 71.392,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.10583,
    "h": 118.6
  },
  "luminance": 0.23833
}

Semantic roles & 50–950 ramp

primary
#7E8D3E
secondary
#8176B1
accent
#59CF6F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7E8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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