#4D8023#4D8023

#4D8023 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.135 H 134.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D8023
RGBrgb(77, 128, 35)
HSLhsl(93, 57%, 32%)
HSVhsv(93, 73%, 50%)
CMYKcmyk(39.8%, 0%, 72.7%, 49.8%)
CIE-LABlab(48.43, -33.45, 42.91)
CIE-LCHlch(48.43, 54.41, 127.94°)
OKLaboklab(54.42% -0.0937 0.0971)
OKLCHoklch(54.42% 0.135 134)
XYZxyz(11.0829, 17.1369, 4.3136)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8023 #562380
analogous
#7C8023 #4D8023 #238028
triadic
#4D8023 #234D80 #80234D
tetradic
#4D8023 #237C80 #562380 #802823
square
#4D8023 #237C80 #562380 #802823
split-complementary
#4D8023 #282380 #80237C
monochromatic
#132009 #305016 #4D8023 #6AB030 #89CF4F

Accessibility & contrast

On white

4.74
#4D8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4D8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8023
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8023#FFFFFF#000000##FFFFFF
##4D80231.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8023;
/* rgb */ color: rgb(77, 128, 35);
/* oklch */ color: oklch(54.4% 0.135 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a564',
    500: '#4d8023',
    950: '#000000',
  },
}
SCSS
$custom: #4d8023;
$custom-light: #83a564;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8023",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 92.903,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.13491,
    "h": 134
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#4D8023
secondary
#844DB2
accent
#47E09B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8023

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

Preview Lab → · Contrast checker → · Palette generator →

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