#4D8618#4D8618

#4D8618 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.149 H 133.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D8618
RGBrgb(77, 134, 24)
HSLhsl(91, 70%, 31%)
HSVhsv(91, 82%, 53%)
CMYKcmyk(42.5%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.33, -36.81, 48.69)
CIE-LCHlch(50.33, 61.04, 127.09°)
OKLaboklab(55.95% -0.1035 0.1075)
OKLCHoklch(55.95% 0.149 133.9)
XYZxyz(11.7503, 18.6933, 3.8530)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8618 #511886
analogous
#848618 #4D8618 #18861A
triadic
#4D8618 #184D86 #86184D
tetradic
#4D8618 #188486 #511886 #861A18
square
#4D8618 #188486 #511886 #861A18
split-complementary
#4D8618 #1A1886 #861884
monochromatic
#111E05 #2F520F #4D8618 #6BBA21 #89DC3C

Accessibility & contrast

On white

4.43
#4D8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4D8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8618
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8618#FFFFFF#000000##000000
##4D86181.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#4D8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8618;
/* rgb */ color: rgb(77, 134, 24);
/* oklch */ color: oklch(55.9% 0.149 133.9);
Tailwind
colors: {
  custom: {
    50: '#84aa5f',
    500: '#4d8618',
    950: '#000000',
  },
}
SCSS
$custom: #4d8618;
$custom-light: #84aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8618",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 91.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.14923,
    "h": 133.9
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#4D8618
secondary
#7F40BA
accent
#3BEC97
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8618

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

Preview Lab → · Contrast checker → · Palette generator →

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