#4E8B23#4E8B23

#4E8B23 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.149 H 135.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B23
RGBrgb(78, 139, 35)
HSLhsl(95, 60%, 34%)
HSVhsv(95, 75%, 55%)
CMYKcmyk(43.9%, 0%, 74.8%, 45.5%)
CIE-LABlab(52.07, -37.93, 46.60)
CIE-LCHlch(52.07, 60.09, 129.14°)
OKLaboklab(57.41% -0.1059 0.1048)
OKLCHoklch(57.41% 0.149 135.3)
XYZxyz(12.6776, 20.2056, 4.8218)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B23 #60238B
analogous
#828B23 #4E8B23 #238B2C
triadic
#4E8B23 #234E8B #8B234E
tetradic
#4E8B23 #23828B #60238B #8B2C23
square
#4E8B23 #23828B #60238B #8B2C23
split-complementary
#4E8B23 #2C238B #8B2382
monochromatic
#17290A #335A17 #4E8B23 #69BC2F #89D454

Accessibility & contrast

On white

4.17
#4E8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B23#FFFFFF#000000##000000
##4E8B231.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b23;
/* rgb */ color: rgb(78, 139, 35);
/* oklch */ color: oklch(57.4% 0.149 135.3);
Tailwind
colors: {
  custom: {
    50: '#85ad65',
    500: '#4e8b23',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b23;
$custom-light: #85ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b23",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 95.192,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.14897,
    "h": 135.3
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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