#4E8321#4E8321

#4E8321 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.140 H 133.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E8321
RGBrgb(78, 131, 33)
HSLhsl(92, 60%, 32%)
HSVhsv(92, 75%, 51%)
CMYKcmyk(40.5%, 0%, 74.8%, 48.6%)
CIE-LABlab(49.45, -34.58, 44.75)
CIE-LCHlch(49.45, 56.55, 127.69°)
OKLaboklab(55.26% -0.0969 0.1006)
OKLCHoklch(55.26% 0.14 133.9)
XYZxyz(11.5325, 17.9615, 4.2978)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8321 #562183
analogous
#7F8321 #4E8321 #218325
triadic
#4E8321 #214E83 #83214E
tetradic
#4E8321 #217F83 #562183 #832521
square
#4E8321 #217F83 #562183 #832521
split-complementary
#4E8321 #252183 #83217F
monochromatic
#142108 #315215 #4E8321 #6BB42D #8AD24C

Accessibility & contrast

On white

4.57
#4E8321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4E8321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8321
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8321#FFFFFF#000000##000000
##4E83211.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#4E7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e8321;
/* rgb */ color: rgb(78, 131, 33);
/* oklch */ color: oklch(55.3% 0.140 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a763',
    500: '#4e8321',
    950: '#000000',
  },
}
SCSS
$custom: #4e8321;
$custom-light: #84a763;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8321",
  "rgb": {
    "r": 78,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 92.449,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.13972,
    "h": 133.9
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#4E8321
secondary
#844BB5
accent
#45E39A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8321

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

Preview Lab → · Contrast checker → · Palette generator →

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