#4E8023#4E8023

#4E8023 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.134 H 133.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E8023
RGBrgb(78, 128, 35)
HSLhsl(92, 57%, 32%)
HSVhsv(92, 73%, 50%)
CMYKcmyk(39.1%, 0%, 72.7%, 49.8%)
CIE-LABlab(48.48, -33.08, 42.98)
CIE-LCHlch(48.48, 54.24, 127.59°)
OKLaboklab(54.48% -0.0927 0.0972)
OKLCHoklch(54.48% 0.134 133.6)
XYZxyz(11.1642, 17.1789, 4.3174)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8023 #552380
analogous
#7D8023 #4E8023 #238027
triadic
#4E8023 #234E80 #80234E
tetradic
#4E8023 #237D80 #552380 #802723
square
#4E8023 #237D80 #552380 #802723
split-complementary
#4E8023 #272380 #80237D
monochromatic
#132009 #315016 #4E8023 #6BB030 #8ACF4F

Accessibility & contrast

On white

4.73
#4E8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8023
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8023#FFFFFF#000000##FFFFFF
##4E80231.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#4E7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8023;
/* rgb */ color: rgb(78, 128, 35);
/* oklch */ color: oklch(54.5% 0.134 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a564',
    500: '#4e8023',
    950: '#000000',
  },
}
SCSS
$custom: #4e8023;
$custom-light: #84a564;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8023",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 92.258,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.13435,
    "h": 133.6
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#4E8023
secondary
#834DB2
accent
#47E09A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8023

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

Preview Lab → · Contrast checker → · Palette generator →

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