#4D8822#4D8822

#4D8822 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.146 H 135.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D8822
RGBrgb(77, 136, 34)
HSLhsl(95, 60%, 33%)
HSVhsv(95, 75%, 53%)
CMYKcmyk(43.4%, 0%, 75%, 46.7%)
CIE-LABlab(51.04, -37.06, 45.93)
CIE-LCHlch(51.04, 59.02, 128.90°)
OKLaboklab(56.55% -0.1035 0.1033)
OKLCHoklch(56.55% 0.146 135.1)
XYZxyz(12.1532, 19.3009, 4.5981)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8822 #5D2288
analogous
#808822 #4D8822 #22882A
triadic
#4D8822 #224D88 #88224D
tetradic
#4D8822 #228088 #5D2288 #882A22
square
#4D8822 #228088 #5D2288 #882A22
split-complementary
#4D8822 #2A2288 #882280
monochromatic
#16260A #315716 #4D8822 #69B92E #88D351

Accessibility & contrast

On white

4.32
#4D8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4D8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8822
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8822#FFFFFF#000000##000000
##4D88221.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0F
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#4C8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8822;
/* rgb */ color: rgb(77, 136, 34);
/* oklch */ color: oklch(56.5% 0.146 135.1);
Tailwind
colors: {
  custom: {
    50: '#84ab64',
    500: '#4d8822',
    950: '#000000',
  },
}
SCSS
$custom: #4d8822;
$custom-light: #84ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8822",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 94.706,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.14622,
    "h": 135.1
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#4D8822
secondary
#8B4FB7
accent
#45E3A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8822

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

Preview Lab → · Contrast checker → · Palette generator →

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