#4D8116#4D8116

#4D8116 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.144 H 133.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D8116
RGBrgb(77, 129, 22)
HSLhsl(89, 71%, 30%)
HSVhsv(89, 83%, 51%)
CMYKcmyk(40.3%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.68, -34.72, 47.79)
CIE-LCHlch(48.68, 59.07, 126.00°)
OKLaboklab(54.6% -0.098 0.1053)
OKLCHoklch(54.6% 0.144 133)
XYZxyz(11.0555, 17.3357, 3.5225)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8116 #4A1681
analogous
#818016 #4D8116 #178116
triadic
#4D8116 #164D81 #81164D
tetradic
#4D8116 #168180 #4A1681 #811617
square
#4D8116 #168180 #4A1681 #811617
split-complementary
#4D8116 #161781 #801681
monochromatic
#101A04 #2E4D0D #4D8116 #6CB51F #8BDD35

Accessibility & contrast

On white

4.70
#4D8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4D8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8116
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8116#FFFFFF#000000##FFFFFF
##4D81161.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8116;
/* rgb */ color: rgb(77, 129, 22);
/* oklch */ color: oklch(54.6% 0.144 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a65e',
    500: '#4d8116',
    950: '#000000',
  },
}
SCSS
$custom: #4d8116;
$custom-light: #84a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8116",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 89.159,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.14385,
    "h": 133
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#4D8116
secondary
#783DB6
accent
#3AEE91
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8116

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

Preview Lab → · Contrast checker → · Palette generator →

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