#4D8623#4D8623

#4D8623 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.143 H 134.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D8623
RGBrgb(77, 134, 35)
HSLhsl(95, 59%, 33%)
HSVhsv(95, 74%, 53%)
CMYKcmyk(42.5%, 0%, 73.9%, 47.5%)
CIE-LABlab(50.39, -36.12, 44.90)
CIE-LCHlch(50.39, 57.62, 128.81°)
OKLaboklab(56.02% -0.1009 0.1013)
OKLCHoklch(56.02% 0.143 134.9)
XYZxyz(11.8888, 18.7487, 4.5822)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8623 #5C2386
analogous
#7E8623 #4D8623 #23862A
triadic
#4D8623 #234D86 #86234D
tetradic
#4D8623 #237E86 #5C2386 #862A23
square
#4D8623 #237E86 #5C2386 #862A23
split-complementary
#4D8623 #2A2386 #86237E
monochromatic
#15250A #315516 #4D8623 #69B730 #88D252

Accessibility & contrast

On white

4.42
#4D8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4D8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8623
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8623#FFFFFF#000000##000000
##4D86231.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8623;
/* rgb */ color: rgb(77, 134, 35);
/* oklch */ color: oklch(56.0% 0.143 134.9);
Tailwind
colors: {
  custom: {
    50: '#84aa65',
    500: '#4d8623',
    950: '#000000',
  },
}
SCSS
$custom: #4d8623;
$custom-light: #84aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8623",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 94.545,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.14294,
    "h": 134.9
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#4D8623
secondary
#8A4FB5
accent
#46E2A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8623

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

Preview Lab → · Contrast checker → · Palette generator →

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