#4E7826#4E7826

#4E7826 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.121 H 132.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7826
RGBrgb(78, 120, 38)
HSLhsl(91, 52%, 31%)
HSVhsv(91, 68%, 47%)
CMYKcmyk(35%, 0%, 68.3%, 52.9%)
CIE-LABlab(45.90, -29.13, 38.99)
CIE-LCHlch(45.90, 48.67, 126.76°)
OKLaboklab(52.37% -0.0817 0.0893)
OKLCHoklch(52.37% 0.121 132.5)
XYZxyz(10.2081, 15.1922, 4.2279)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7826 #502678
analogous
#777826 #4E7826 #267827
triadic
#4E7826 #264E78 #78264E
tetradic
#4E7826 #267778 #502678 #782726
square
#4E7826 #267778 #502678 #782726
split-complementary
#4E7826 #272678 #782677
monochromatic
#121B09 #304A17 #4E7826 #6CA635 #8BC851

Accessibility & contrast

On white

5.20
#4E7826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E7826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7826
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7826#FFFFFF#000000##FFFFFF
##4E78261.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#4F7367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7826;
/* rgb */ color: rgb(78, 120, 38);
/* oklch */ color: oklch(52.4% 0.121 132.5);
Tailwind
colors: {
  custom: {
    50: '#839f65',
    500: '#4e7826',
    950: '#000000',
  },
}
SCSS
$custom: #4e7826;
$custom-light: #839f65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7826",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 90.732,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.12102,
    "h": 132.5
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#4E7826
secondary
#7E50AA
accent
#4CDB96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7826

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

Preview Lab → · Contrast checker → · Palette generator →

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