#4E8223#4E8223

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

Color values

HEX#4E8223
RGBrgb(78, 130, 35)
HSLhsl(93, 58%, 32%)
HSVhsv(93, 73%, 51%)
CMYKcmyk(40%, 0%, 73.1%, 49%)
CIE-LABlab(49.14, -33.98, 43.65)
CIE-LCHlch(49.14, 55.32, 127.91°)
OKLaboklab(55.01% -0.0952 0.0986)
OKLCHoklch(55.01% 0.137 134)
XYZxyz(11.4277, 17.7058, 4.4052)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8223 #572382
analogous
#7E8223 #4E8223 #238227
triadic
#4E8223 #234E82 #82234E
tetradic
#4E8223 #237E82 #572382 #822723
square
#4E8223 #237E82 #572382 #822723
split-complementary
#4E8223 #272382 #82237E
monochromatic
#142209 #315216 #4E8223 #6BB230 #8AD050

Accessibility & contrast

On white

4.62
#4E8223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E8223
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8223#FFFFFF#000000##FFFFFF
##4E82231.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8223;
/* rgb */ color: rgb(78, 130, 35);
/* oklch */ color: oklch(55.0% 0.137 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a764',
    500: '#4e8223',
    950: '#000000',
  },
}
SCSS
$custom: #4e8223;
$custom-light: #84a764;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8223",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 92.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.13706,
    "h": 134
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#4E8223
secondary
#854DB3
accent
#47E19B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8223

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

Preview Lab → · Contrast checker → · Palette generator →

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