#4E8521#4E8521

#4E8521 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.142 H 134.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4E8521
RGBrgb(78, 133, 33)
HSLhsl(93, 60%, 33%)
HSVhsv(93, 75%, 52%)
CMYKcmyk(41.4%, 0%, 75.2%, 47.8%)
CIE-LABlab(50.10, -35.46, 45.40)
CIE-LCHlch(50.10, 57.61, 128.00°)
OKLaboklab(55.79% -0.0993 0.102)
OKLCHoklch(55.79% 0.142 134.2)
XYZxyz(11.8037, 18.5040, 4.3882)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8521 #582185
analogous
#808521 #4E8521 #218526
triadic
#4E8521 #214E85 #85214E
tetradic
#4E8521 #218085 #582185 #852621
square
#4E8521 #218085 #582185 #852621
split-complementary
#4E8521 #262185 #852180
monochromatic
#142309 #315415 #4E8521 #6BB62D #8AD34D

Accessibility & contrast

On white

4.47
#4E8521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4E8521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8521
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8521#FFFFFF#000000##000000
##4E85211.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#4D8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e8521;
/* rgb */ color: rgb(78, 133, 33);
/* oklch */ color: oklch(55.8% 0.142 134.2);
Tailwind
colors: {
  custom: {
    50: '#85a963',
    500: '#4e8521',
    950: '#000000',
  },
}
SCSS
$custom: #4e8521;
$custom-light: #85a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8521",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 93,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.14237,
    "h": 134.2
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#4E8521
secondary
#864CB6
accent
#44E39C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8521

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

Preview Lab → · Contrast checker → · Palette generator →

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