#4E7A26#4E7A26

#4E7A26 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.124 H 132.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7A26
RGBrgb(78, 122, 38)
HSLhsl(91, 53%, 31%)
HSVhsv(91, 69%, 48%)
CMYKcmyk(36.1%, 0%, 68.9%, 52.2%)
CIE-LABlab(46.55, -30.07, 39.69)
CIE-LCHlch(46.55, 49.79, 127.15°)
OKLaboklab(52.91% -0.0843 0.0908)
OKLCHoklch(52.91% 0.124 132.9)
XYZxyz(10.4511, 15.6783, 4.3089)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A26 #52267A
analogous
#787A26 #4E7A26 #267A28
triadic
#4E7A26 #264E7A #7A264E
tetradic
#4E7A26 #26787A #52267A #7A2826
square
#4E7A26 #26787A #52267A #7A2826
split-complementary
#4E7A26 #28267A #7A2678
monochromatic
#121D09 #304B17 #4E7A26 #6CA935 #8AC951

Accessibility & contrast

On white

5.08
#4E7A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A26
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A26#FFFFFF#000000##FFFFFF
##4E7A261.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711B
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#4F7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a26;
/* rgb */ color: rgb(78, 122, 38);
/* oklch */ color: oklch(52.9% 0.124 132.9);
Tailwind
colors: {
  custom: {
    50: '#83a165',
    500: '#4e7a26',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a26;
$custom-light: #83a165;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a26",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 91.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.12384,
    "h": 132.9
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#4E7A26
secondary
#8050AC
accent
#4CDC97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A26

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

Preview Lab → · Contrast checker → · Palette generator →

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