#4E8122#4E8122

#4E8122 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.136 H 133.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E8122
RGBrgb(78, 129, 34)
HSLhsl(92, 58%, 32%)
HSVhsv(92, 74%, 51%)
CMYKcmyk(39.5%, 0%, 73.6%, 49.4%)
CIE-LABlab(48.80, -33.61, 43.71)
CIE-LCHlch(48.80, 55.14, 127.56°)
OKLaboklab(54.74% -0.0942 0.0986)
OKLCHoklch(54.74% 0.136 133.7)
XYZxyz(11.2807, 17.4352, 4.2840)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8122 #552281
analogous
#7D8122 #4E8122 #228126
triadic
#4E8122 #224E81 #81224E
tetradic
#4E8122 #227D81 #552281 #812622
square
#4E8122 #227D81 #552281 #812622
split-complementary
#4E8122 #262281 #81227D
monochromatic
#132008 #315115 #4E8122 #6BB12F #8AD04D

Accessibility & contrast

On white

4.68
#4E8122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8122
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8122#FFFFFF#000000##FFFFFF
##4E81221.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867712
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8122;
/* rgb */ color: rgb(78, 129, 34);
/* oklch */ color: oklch(54.7% 0.136 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a664',
    500: '#4e8122',
    950: '#000000',
  },
}
SCSS
$custom: #4e8122;
$custom-light: #84a664;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8122",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 92.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.13639,
    "h": 133.7
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#4E8122
secondary
#834BB3
accent
#46E19A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8122

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

Preview Lab → · Contrast checker → · Palette generator →

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