#4E7126#4E7126

#4E7126 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.111 H 130.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E7126
RGBrgb(78, 113, 38)
HSLhsl(88, 50%, 30%)
HSVhsv(88, 66%, 44%)
CMYKcmyk(31%, 0%, 66.4%, 55.7%)
CIE-LABlab(43.61, -25.74, 36.52)
CIE-LCHlch(43.61, 44.68, 125.17°)
OKLaboklab(50.51% -0.0724 0.0841)
OKLCHoklch(50.51% 0.111 130.7)
XYZxyz(9.3968, 13.5696, 3.9575)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7126 #492671
analogous
#716F26 #4E7126 #297126
triadic
#4E7126 #264E71 #71264E
tetradic
#4E7126 #26716F #492671 #712629
square
#4E7126 #26716F #492671 #712629
split-complementary
#4E7126 #262971 #6F2671
monochromatic
#101708 #2E4317 #4E7126 #6E9F35 #8DC34E

Accessibility & contrast

On white

5.65
#4E7126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E7126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7126
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7126#FFFFFF#000000##FFFFFF
##4E71261.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691D
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7126;
/* rgb */ color: rgb(78, 113, 38);
/* oklch */ color: oklch(50.5% 0.111 130.7);
Tailwind
colors: {
  custom: {
    50: '#829a64',
    500: '#4e7126',
    950: '#000000',
  },
}
SCSS
$custom: #4e7126;
$custom-light: #829a64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7126",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 88,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.11097,
    "h": 130.7
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#4E7126
secondary
#774FA4
accent
#4FD98F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7126

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

Preview Lab → · Contrast checker → · Palette generator →

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