#4E7E2E#4E7E2E

#4E7E2E is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.1% C 0.123 H 134.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E7E2E
RGBrgb(78, 126, 46)
HSLhsl(96, 47%, 34%)
HSVhsv(96, 63%, 49%)
CMYKcmyk(38.1%, 0%, 63.5%, 50.6%)
CIE-LABlab(47.93, -31.19, 37.52)
CIE-LCHlch(47.93, 48.79, 129.74°)
OKLaboklab(54.05% -0.0867 0.0872)
OKLCHoklch(54.05% 0.123 134.8)
XYZxyz(11.0956, 16.7382, 5.2304)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E2E #5E2E7E
analogous
#767E2E #4E7E2E #2E7E36
triadic
#4E7E2E #2E4E7E #7E2E4E
tetradic
#4E7E2E #2E767E #5E2E7E #7E362E
square
#4E7E2E #2E767E #5E2E7E #7E362E
split-complementary
#4E7E2E #362E7E #7E2E76
monochromatic
#16240D #32511E #4E7E2E #6AAB3E #89C561

Accessibility & contrast

On white

4.83
#4E7E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E7E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E2E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E2E#FFFFFF#000000##FFFFFF
##4E7E2E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#4D796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e2e;
/* rgb */ color: rgb(78, 126, 46);
/* oklch */ color: oklch(54.1% 0.123 134.8);
Tailwind
colors: {
  custom: {
    50: '#83a46a',
    500: '#4e7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e2e;
$custom-light: #83a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e2e",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 96,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.12292,
    "h": 134.8
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#4E7E2E
secondary
#8C5CAC
accent
#52D6A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#4E7E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva