#4E8C23#4E8C23

#4E8C23 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.150 H 135.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E8C23
RGBrgb(78, 140, 35)
HSLhsl(95, 60%, 34%)
HSVhsv(95, 75%, 55%)
CMYKcmyk(44.3%, 0%, 75%, 45.1%)
CIE-LABlab(52.39, -38.36, 46.93)
CIE-LCHlch(52.39, 60.61, 129.27°)
OKLaboklab(57.68% -0.107 0.1055)
OKLCHoklch(57.68% 0.15 135.4)
XYZxyz(12.8230, 20.4965, 4.8703)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C23 #61238C
analogous
#838C23 #4E8C23 #238C2D
triadic
#4E8C23 #234E8C #8C234E
tetradic
#4E8C23 #23838C #61238C #8C2D23
square
#4E8C23 #23838C #61238C #8C2D23
split-complementary
#4E8C23 #2D238C #8C2383
monochromatic
#172A0B #335B17 #4E8C23 #69BD2F #89D455

Accessibility & contrast

On white

4.12
#4E8C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E8C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C23
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C23#FFFFFF#000000##000000
##4E8C231.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c23;
/* rgb */ color: rgb(78, 140, 35);
/* oklch */ color: oklch(57.7% 0.150 135.4);
Tailwind
colors: {
  custom: {
    50: '#85ae65',
    500: '#4e8c23',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c23;
$custom-light: #85ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c23",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 95.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.15027,
    "h": 135.4
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#4E8C23
secondary
#8F52B8
accent
#45E3A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C23

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

Preview Lab → · Contrast checker → · Palette generator →

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