#4D8121#4D8121

#4D8121 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.138 H 133.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4D8121
RGBrgb(77, 129, 33)
HSLhsl(93, 59%, 32%)
HSVhsv(93, 74%, 51%)
CMYKcmyk(40.3%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.74, -34.05, 44.02)
CIE-LCHlch(48.74, 55.66, 127.72°)
OKLaboklab(54.67% -0.0954 0.0991)
OKLCHoklch(54.67% 0.138 133.9)
XYZxyz(11.1851, 17.3876, 4.2053)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8121 #552181
analogous
#7D8121 #4D8121 #218125
triadic
#4D8121 #214D81 #81214D
tetradic
#4D8121 #217D81 #552181 #812521
square
#4D8121 #217D81 #552181 #812521
split-complementary
#4D8121 #252181 #81217D
monochromatic
#132008 #305015 #4D8121 #6AB22D #89D14B

Accessibility & contrast

On white

4.69
#4D8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4D8121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8121
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8121#FFFFFF#000000##FFFFFF
##4D81211.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#4D7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8121;
/* rgb */ color: rgb(77, 129, 33);
/* oklch */ color: oklch(54.7% 0.138 133.9);
Tailwind
colors: {
  custom: {
    50: '#83a663',
    500: '#4d8121',
    950: '#000000',
  },
}
SCSS
$custom: #4d8121;
$custom-light: #83a663;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8121",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 92.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.13761,
    "h": 133.9
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#4D8121
secondary
#834AB4
accent
#45E29A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8121

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

Preview Lab → · Contrast checker → · Palette generator →

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