#4D8522#4D8522

#4D8522 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.7% C 0.142 H 134.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4D8522
RGBrgb(77, 133, 34)
HSLhsl(94, 59%, 33%)
HSVhsv(94, 74%, 52%)
CMYKcmyk(42.1%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.06, -35.75, 44.95)
CIE-LCHlch(50.06, 57.44, 128.49°)
OKLaboklab(55.75% -0.1 0.1012)
OKLCHoklch(55.75% 0.142 134.6)
XYZxyz(11.7366, 18.4677, 4.4593)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8522 #5A2285
analogous
#7E8522 #4D8522 #228528
triadic
#4D8522 #224D85 #85224D
tetradic
#4D8522 #227E85 #5A2285 #852822
square
#4D8522 #227E85 #5A2285 #852822
split-complementary
#4D8522 #282285 #85227E
monochromatic
#152409 #315416 #4D8522 #69B62E #88D24F

Accessibility & contrast

On white

4.47
#4D8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4D8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8522
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8522#FFFFFF#000000##000000
##4D85221.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#83752C
Tritanopia (blue-blind)
#4C8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d8522;
/* rgb */ color: rgb(77, 133, 34);
/* oklch */ color: oklch(55.7% 0.142 134.6);
Tailwind
colors: {
  custom: {
    50: '#84a964',
    500: '#4d8522',
    950: '#000000',
  },
}
SCSS
$custom: #4d8522;
$custom-light: #84a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8522",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 93.939,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.14227,
    "h": 134.6
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#4D8522
secondary
#884DB6
accent
#45E29E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8522

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

Preview Lab → · Contrast checker → · Palette generator →

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