#4E7121#4E7121

#4E7121 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.5% C 0.115 H 130.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E7121
RGBrgb(78, 113, 33)
HSLhsl(86, 55%, 29%)
HSVhsv(86, 71%, 44%)
CMYKcmyk(31%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.57, -26.17, 38.74)
CIE-LCHlch(43.57, 46.75, 124.04°)
OKLaboklab(50.46% -0.074 0.088)
OKLCHoklch(50.46% 0.115 130.1)
XYZxyz(9.3215, 13.5395, 3.5608)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7121 #442171
analogous
#716C21 #4E7121 #267121
triadic
#4E7121 #214E71 #71214E
tetradic
#4E7121 #21716C #442171 #712126
square
#4E7121 #21716C #442171 #712126
split-complementary
#4E7121 #212671 #6C2171
monochromatic
#101807 #2D4213 #4E7121 #6FA02F #8EC844

Accessibility & contrast

On white

5.66
#4E7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7121
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7121#FFFFFF#000000##FFFFFF
##4E71211.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766915
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7121;
/* rgb */ color: rgb(78, 113, 33);
/* oklch */ color: oklch(50.5% 0.115 130.1);
Tailwind
colors: {
  custom: {
    50: '#839a61',
    500: '#4e7121',
    950: '#000000',
  },
}
SCSS
$custom: #4e7121;
$custom-light: #839a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7121",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 86.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.11504,
    "h": 130.1
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#4E7121
secondary
#7149A5
accent
#4ADE8B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7121

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

Preview Lab → · Contrast checker → · Palette generator →

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