#4E8D23#4E8D23

#4E8D23 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.152 H 135.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E8D23
RGBrgb(78, 141, 35)
HSLhsl(96, 60%, 35%)
HSVhsv(96, 75%, 55%)
CMYKcmyk(44.7%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.72, -38.79, 47.25)
CIE-LCHlch(52.72, 61.13, 129.38°)
OKLaboklab(57.94% -0.1082 0.1062)
OKLCHoklch(57.94% 0.152 135.5)
XYZxyz(12.9698, 20.7900, 4.9193)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D23 #62238D
analogous
#838D23 #4E8D23 #238D2D
triadic
#4E8D23 #234E8D #8D234E
tetradic
#4E8D23 #23838D #62238D #8D2D23
square
#4E8D23 #23838D #62238D #8D2D23
split-complementary
#4E8D23 #2D238D #8D2383
monochromatic
#182B0B #335C17 #4E8D23 #69BE2F #89D555

Accessibility & contrast

On white

4.07
#4E8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D23
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D23#FFFFFF#000000##000000
##4E8D231.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d23;
/* rgb */ color: rgb(78, 141, 35);
/* oklch */ color: oklch(57.9% 0.152 135.5);
Tailwind
colors: {
  custom: {
    50: '#85af66',
    500: '#4e8d23',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d23;
$custom-light: #85af66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d23",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 95.66,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.15156,
    "h": 135.5
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#4E8D23
secondary
#9053B9
accent
#44E3A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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