#4E7B26#4E7B26

#4E7B26 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.125 H 133.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7B26
RGBrgb(78, 123, 38)
HSLhsl(92, 53%, 32%)
HSVhsv(92, 69%, 48%)
CMYKcmyk(36.6%, 0%, 69.1%, 51.8%)
CIE-LABlab(46.88, -30.54, 40.04)
CIE-LCHlch(46.88, 50.35, 127.34°)
OKLaboklab(53.17% -0.0855 0.0915)
OKLCHoklch(53.17% 0.125 133.1)
XYZxyz(10.5745, 15.9251, 4.3500)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B26 #53267B
analogous
#797B26 #4E7B26 #267B29
triadic
#4E7B26 #264E7B #7B264E
tetradic
#4E7B26 #26797B #53267B #7B2926
square
#4E7B26 #26797B #53267B #7B2926
split-complementary
#4E7B26 #29267B #7B2679
monochromatic
#131D09 #304C18 #4E7B26 #6CAA34 #8ACA52

Accessibility & contrast

On white

5.02
#4E7B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E7B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B26#FFFFFF#000000##FFFFFF
##4E7B261.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b26;
/* rgb */ color: rgb(78, 123, 38);
/* oklch */ color: oklch(53.2% 0.125 133.1);
Tailwind
colors: {
  custom: {
    50: '#83a165',
    500: '#4e7b26',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b26;
$custom-light: #83a165;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b26",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 91.765,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.12525,
    "h": 133.1
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#4E7B26
secondary
#8150AD
accent
#4CDC98
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B26

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

Preview Lab → · Contrast checker → · Palette generator →

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