#4E9823#4E9823

#4E9823 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.166 H 136.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E9823
RGBrgb(78, 152, 35)
HSLhsl(98, 63%, 37%)
HSVhsv(98, 77%, 60%)
CMYKcmyk(48.7%, 0%, 77%, 40.4%)
CIE-LABlab(56.28, -43.34, 50.75)
CIE-LCHlch(56.28, 66.74, 130.50°)
OKLaboklab(60.87% -0.1205 0.1135)
OKLCHoklch(60.87% 0.166 136.7)
XYZxyz(14.6731, 24.1965, 5.4870)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9823 #6D2398
analogous
#899823 #4E9823 #239833
triadic
#4E9823 #234E98 #98234E
tetradic
#4E9823 #238998 #6D2398 #983323
square
#4E9823 #238998 #6D2398 #983323
split-complementary
#4E9823 #332398 #982389
monochromatic
#1B350C #346618 #4E9823 #68CA2E #8AD95C

Accessibility & contrast

On white

3.60
#4E9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#4E9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9823
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9823#FFFFFF#000000##000000
##4E98231.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B08
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#4A9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e9823;
/* rgb */ color: rgb(78, 152, 35);
/* oklch */ color: oklch(60.9% 0.166 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b767',
    500: '#4e9823',
    950: '#000000',
  },
}
SCSS
$custom: #4e9823;
$custom-light: #87b767;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9823",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 97.949,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.16551,
    "h": 136.7
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#4E9823
secondary
#9959BE
accent
#42E6AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9823

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

Preview Lab → · Contrast checker → · Palette generator →

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