#4E8A23#4E8A23

#4E8A23 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.148 H 135.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E8A23
RGBrgb(78, 138, 35)
HSLhsl(95, 60%, 34%)
HSVhsv(95, 75%, 54%)
CMYKcmyk(43.5%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.74, -37.50, 46.28)
CIE-LCHlch(51.74, 59.56, 129.02°)
OKLaboklab(57.14% -0.1047 0.1041)
OKLCHoklch(57.14% 0.148 135.2)
XYZxyz(12.5335, 19.9173, 4.7738)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A23 #5F238A
analogous
#828A23 #4E8A23 #238A2B
triadic
#4E8A23 #234E8A #8A234E
tetradic
#4E8A23 #23828A #5F238A #8A2B23
square
#4E8A23 #23828A #5F238A #8A2B23
split-complementary
#4E8A23 #2B238A #8A2382
monochromatic
#17280A #325917 #4E8A23 #6ABB2F #89D454

Accessibility & contrast

On white

4.21
#4E8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A23
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A23#FFFFFF#000000##000000
##4E8A231.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#877A2D
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a23;
/* rgb */ color: rgb(78, 138, 35);
/* oklch */ color: oklch(57.1% 0.148 135.2);
Tailwind
colors: {
  custom: {
    50: '#85ac65',
    500: '#4e8a23',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a23;
$custom-light: #85ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a23",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 94.951,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.14767,
    "h": 135.2
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#4E8A23
secondary
#8D51B7
accent
#45E3A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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