#4E9A23#4E9A23

#4E9A23 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.4% C 0.168 H 136.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4E9A23
RGBrgb(78, 154, 35)
HSLhsl(98, 63%, 37%)
HSVhsv(98, 77%, 60%)
CMYKcmyk(49.4%, 0%, 77.3%, 39.6%)
CIE-LABlab(56.93, -44.15, 51.38)
CIE-LCHlch(56.93, 67.74, 130.67°)
OKLaboklab(61.4% -0.1226 0.1148)
OKLCHoklch(61.4% 0.168 136.9)
XYZxyz(15.0004, 24.8512, 5.5961)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9A23 #6F239A
analogous
#8A9A23 #4E9A23 #239A33
triadic
#4E9A23 #234E9A #9A234E
tetradic
#4E9A23 #238A9A #6F239A #9A3323
square
#4E9A23 #238A9A #6F239A #9A3323
split-complementary
#4E9A23 #33239A #9A238A
monochromatic
#1B360C #356818 #4E9A23 #67CC2E #8ADA5D

Accessibility & contrast

On white

3.52
#4E9A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#4E9A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9A23
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9A23#FFFFFF#000000##000000
##4E9A231.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D06
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#4A9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e9a23;
/* rgb */ color: rgb(78, 154, 35);
/* oklch */ color: oklch(61.4% 0.168 136.9);
Tailwind
colors: {
  custom: {
    50: '#87b867',
    500: '#4e9a23',
    950: '#000000',
  },
}
SCSS
$custom: #4e9a23;
$custom-light: #87b867;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9a23",
  "rgb": {
    "r": 78,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 98.319,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.16798,
    "h": 136.9
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

primary
#4E9A23
secondary
#9A5ABF
accent
#42E6AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9A23

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

Preview Lab → · Contrast checker → · Palette generator →

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