#4E7122#4E7122

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

Color values

HEX#4E7122
RGBrgb(78, 113, 34)
HSLhsl(87, 54%, 29%)
HSVhsv(87, 70%, 44%)
CMYKcmyk(31%, 0%, 69.9%, 55.7%)
CIE-LABlab(43.57, -26.09, 38.31)
CIE-LCHlch(43.57, 46.35, 124.25°)
OKLaboklab(50.47% -0.0737 0.0873)
OKLCHoklch(50.47% 0.114 130.2)
XYZxyz(9.3357, 13.5452, 3.6357)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7122 #452271
analogous
#716D22 #4E7122 #277122
triadic
#4E7122 #224E71 #71224E
tetradic
#4E7122 #22716D #452271 #712227
square
#4E7122 #22716D #452271 #712227
split-complementary
#4E7122 #222771 #6D2271
monochromatic
#101807 #2E4214 #4E7122 #6EA030 #8EC746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7122#FFFFFF#000000##FFFFFF
##4E71221.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)
#766917
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7122;
/* rgb */ color: rgb(78, 113, 34);
/* oklch */ color: oklch(50.5% 0.114 130.2);
Tailwind
colors: {
  custom: {
    50: '#829a62',
    500: '#4e7122',
    950: '#000000',
  },
}
SCSS
$custom: #4e7122;
$custom-light: #829a62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7122",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 86.582,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.11426,
    "h": 130.2
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#4E7122
secondary
#724AA4
accent
#4BDD8C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7122

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

Preview Lab → · Contrast checker → · Palette generator →

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