#4D9823#4D9823

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

Color values

HEX#4D9823
RGBrgb(77, 152, 35)
HSLhsl(98, 63%, 37%)
HSVhsv(98, 77%, 60%)
CMYKcmyk(49.3%, 0%, 77%, 40.4%)
CIE-LABlab(56.24, -43.66, 50.70)
CIE-LCHlch(56.24, 66.91, 130.73°)
OKLaboklab(60.83% -0.1212 0.1134)
OKLCHoklch(60.83% 0.166 136.9)
XYZxyz(14.5917, 24.1546, 5.4832)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9823 #6E2398
analogous
#889823 #4D9823 #239834
triadic
#4D9823 #234D98 #98234D
tetradic
#4D9823 #238898 #6E2398 #983423
square
#4D9823 #238898 #6E2398 #983423
split-complementary
#4D9823 #342398 #982388
monochromatic
#1B350C #346618 #4D9823 #66CA2E #89D95C

Accessibility & contrast

On white

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

On black

5.83
#4D9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9823
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9823#FFFFFF#000000##000000
##4D98231.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B08
Deuteranopia (green-blind)
#93852F
Tritanopia (blue-blind)
#499282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d9823;
/* rgb */ color: rgb(77, 152, 35);
/* oklch */ color: oklch(60.8% 0.166 136.9);
Tailwind
colors: {
  custom: {
    50: '#86b767',
    500: '#4d9823',
    950: '#000000',
  },
}
SCSS
$custom: #4d9823;
$custom-light: #86b767;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9823",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 98.462,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.16601,
    "h": 136.9
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D9823

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

Preview Lab → · Contrast checker → · Palette generator →

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