#4D8923#4D8923

#4D8923 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.147 H 135.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D8923
RGBrgb(77, 137, 35)
HSLhsl(95, 59%, 34%)
HSVhsv(95, 74%, 54%)
CMYKcmyk(43.8%, 0%, 74.5%, 46.3%)
CIE-LABlab(51.37, -37.42, 45.89)
CIE-LCHlch(51.37, 59.21, 129.20°)
OKLaboklab(56.83% -0.1044 0.1033)
OKLCHoklch(56.83% 0.147 135.3)
XYZxyz(12.3093, 19.5898, 4.7224)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8923 #5F2389
analogous
#808923 #4D8923 #23892C
triadic
#4D8923 #234D89 #89234D
tetradic
#4D8923 #238089 #5F2389 #892C23
square
#4D8923 #238089 #5F2389 #892C23
split-complementary
#4D8923 #2C2389 #892380
monochromatic
#16280A #325817 #4D8923 #68BA2F #88D353

Accessibility & contrast

On white

4.27
#4D8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4D8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8923
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8923#FFFFFF#000000##000000
##4D89231.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#4B8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8923;
/* rgb */ color: rgb(77, 137, 35);
/* oklch */ color: oklch(56.8% 0.147 135.3);
Tailwind
colors: {
  custom: {
    50: '#84ac65',
    500: '#4d8923',
    950: '#000000',
  },
}
SCSS
$custom: #4d8923;
$custom-light: #84ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8923",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 95.294,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.14689,
    "h": 135.3
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D8923

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

Preview Lab → · Contrast checker → · Palette generator →

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