#4D8118#4D8118

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

Color values

HEX#4D8118
RGBrgb(77, 129, 24)
HSLhsl(90, 69%, 30%)
HSVhsv(90, 81%, 51%)
CMYKcmyk(40.3%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.69, -34.62, 47.18)
CIE-LCHlch(48.69, 58.52, 126.27°)
OKLaboklab(54.61% -0.0976 0.1043)
OKLCHoklch(54.61% 0.143 133.1)
XYZxyz(11.0755, 17.3437, 3.6281)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8118 #4C1881
analogous
#818018 #4D8118 #198118
triadic
#4D8118 #184D81 #81184D
tetradic
#4D8118 #188180 #4C1881 #811819
square
#4D8118 #188180 #4C1881 #811819
split-complementary
#4D8118 #181981 #801881
monochromatic
#0F1A05 #2E4D0E #4D8118 #6CB522 #8ADA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8118#FFFFFF#000000##FFFFFF
##4D81181.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)
#807224
Tritanopia (blue-blind)
#4D7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8118;
/* rgb */ color: rgb(77, 129, 24);
/* oklch */ color: oklch(54.6% 0.143 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a65f',
    500: '#4d8118',
    950: '#000000',
  },
}
SCSS
$custom: #4d8118;
$custom-light: #84a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8118",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 89.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.14287,
    "h": 133.1
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#4D8118
secondary
#7A40B5
accent
#3CEB93
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8118

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

Preview Lab → · Contrast checker → · Palette generator →

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