#4E8222#4E8222

#4E8222 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.138 H 133.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4E8222
RGBrgb(78, 130, 34)
HSLhsl(93, 59%, 32%)
HSVhsv(93, 74%, 51%)
CMYKcmyk(40%, 0%, 73.8%, 49%)
CIE-LABlab(49.13, -34.06, 44.04)
CIE-LCHlch(49.13, 55.67, 127.72°)
OKLaboklab(55% -0.0954 0.0993)
OKLCHoklch(55% 0.138 133.9)
XYZxyz(11.4130, 17.6999, 4.3281)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8222 #562282
analogous
#7E8222 #4E8222 #228226
triadic
#4E8222 #224E82 #82224E
tetradic
#4E8222 #227E82 #562282 #822622
square
#4E8222 #227E82 #562282 #822622
split-complementary
#4E8222 #262282 #82227E
monochromatic
#142109 #315115 #4E8222 #6BB32F #8AD14E

Accessibility & contrast

On white

4.63
#4E8222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4E8222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8222
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8222#FFFFFF#000000##FFFFFF
##4E82221.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#4E7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8222;
/* rgb */ color: rgb(78, 130, 34);
/* oklch */ color: oklch(55.0% 0.138 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a764',
    500: '#4e8222',
    950: '#000000',
  },
}
SCSS
$custom: #4e8222;
$custom-light: #84a764;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8222",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 92.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.13773,
    "h": 133.9
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#4E8222
secondary
#844CB4
accent
#46E29A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8222

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

Preview Lab → · Contrast checker → · Palette generator →

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