#4D8022#4D8022

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

Color values

HEX#4D8022
RGBrgb(77, 128, 34)
HSLhsl(93, 58%, 32%)
HSVhsv(93, 73%, 50%)
CMYKcmyk(39.8%, 0%, 73.4%, 49.8%)
CIE-LABlab(48.42, -33.53, 43.31)
CIE-LCHlch(48.42, 54.77, 127.75°)
OKLaboklab(54.41% -0.0939 0.0978)
OKLCHoklch(54.41% 0.136 133.9)
XYZxyz(11.0683, 17.1311, 4.2365)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8022 #552280
analogous
#7C8022 #4D8022 #228026
triadic
#4D8022 #224D80 #80224D
tetradic
#4D8022 #227C80 #552280 #802622
square
#4D8022 #227C80 #552280 #802622
split-complementary
#4D8022 #262280 #80227C
monochromatic
#131F08 #305015 #4D8022 #6AB02F #89D04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8022#FFFFFF#000000##FFFFFF
##4D80221.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)
#857612
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8022;
/* rgb */ color: rgb(77, 128, 34);
/* oklch */ color: oklch(54.4% 0.136 133.9);
Tailwind
colors: {
  custom: {
    50: '#83a563',
    500: '#4d8022',
    950: '#000000',
  },
}
SCSS
$custom: #4d8022;
$custom-light: #83a563;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8022",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 92.553,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.13559,
    "h": 133.9
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#4D8022
secondary
#834BB2
accent
#47E19A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8022

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

Preview Lab → · Contrast checker → · Palette generator →

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