#4D8718#4D8718

#4D8718 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.150 H 134.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4D8718
RGBrgb(77, 135, 24)
HSLhsl(91, 70%, 31%)
HSVhsv(91, 82%, 53%)
CMYKcmyk(43%, 0%, 82.2%, 47.1%)
CIE-LABlab(50.65, -37.24, 49.00)
CIE-LCHlch(50.65, 61.54, 127.24°)
OKLaboklab(56.22% -0.1047 0.1081)
OKLCHoklch(56.22% 0.151 134.1)
XYZxyz(11.8892, 18.9710, 3.8993)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8718 #521887
analogous
#848718 #4D8718 #18871A
triadic
#4D8718 #184D87 #87184D
tetradic
#4D8718 #188487 #521887 #871A18
square
#4D8718 #188487 #521887 #871A18
split-complementary
#4D8718 #1A1887 #871884
monochromatic
#121F06 #2F530F #4D8718 #6BBB21 #89DC3D

Accessibility & contrast

On white

4.38
#4D8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4D8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8718
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8718#FFFFFF#000000##000000
##4D87181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8718;
/* rgb */ color: rgb(77, 135, 24);
/* oklch */ color: oklch(56.2% 0.150 134.1);
Tailwind
colors: {
  custom: {
    50: '#85aa60',
    500: '#4d8718',
    950: '#000000',
  },
}
SCSS
$custom: #4d8718;
$custom-light: #85aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8718",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 91.351,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.1505,
    "h": 134.1
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#4D8718
secondary
#8040BB
accent
#3BED98
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8718

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

Preview Lab → · Contrast checker → · Palette generator →

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