#4E7226#4E7226

#4E7226 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.112 H 131.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E7226
RGBrgb(78, 114, 38)
HSLhsl(88, 50%, 30%)
HSVhsv(88, 67%, 45%)
CMYKcmyk(31.6%, 0%, 66.7%, 55.3%)
CIE-LABlab(43.94, -26.23, 36.88)
CIE-LCHlch(43.94, 45.26, 125.42°)
OKLaboklab(50.78% -0.0738 0.0848)
OKLCHoklch(50.78% 0.112 131)
XYZxyz(9.5090, 13.7940, 3.9948)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7226 #4A2672
analogous
#727026 #4E7226 #287226
triadic
#4E7226 #264E72 #72264E
tetradic
#4E7226 #267270 #4A2672 #722628
square
#4E7226 #267270 #4A2672 #722628
split-complementary
#4E7226 #262872 #702672
monochromatic
#101708 #2F4417 #4E7226 #6DA035 #8CC44E

Accessibility & contrast

On white

5.59
#4E7226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4E7226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7226
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7226#FFFFFF#000000##FFFFFF
##4E72261.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1D
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7226;
/* rgb */ color: rgb(78, 114, 38);
/* oklch */ color: oklch(50.8% 0.112 131.0);
Tailwind
colors: {
  custom: {
    50: '#829a64',
    500: '#4e7226',
    950: '#000000',
  },
}
SCSS
$custom: #4e7226;
$custom-light: #829a64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7226",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 88.421,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.11242,
    "h": 131
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#4E7226
secondary
#784FA5
accent
#4EDA90
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7226

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

Preview Lab → · Contrast checker → · Palette generator →

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