#4D8E18#4D8E18

#4D8E18 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.159 H 135.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D8E18
RGBrgb(77, 142, 24)
HSLhsl(93, 71%, 33%)
HSVhsv(93, 83%, 56%)
CMYKcmyk(45.8%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.94, -40.20, 51.09)
CIE-LCHlch(52.94, 65.01, 128.20°)
OKLaboklab(58.09% -0.1126 0.1125)
OKLCHoklch(58.09% 0.159 135)
XYZxyz(12.8982, 20.9890, 4.2356)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E18 #59188E
analogous
#888E18 #4D8E18 #188E1E
triadic
#4D8E18 #184D8E #8E184D
tetradic
#4D8E18 #18888E #59188E #8E1E18
square
#4D8E18 #18888E #59188E #8E1E18
split-complementary
#4D8E18 #1E188E #8E1888
monochromatic
#142506 #315A0F #4D8E18 #69C221 #88DF41

Accessibility & contrast

On white

4.04
#4D8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4D8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E18
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E18#FFFFFF#000000##000000
##4D8E181.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e18;
/* rgb */ color: rgb(77, 142, 24);
/* oklch */ color: oklch(58.1% 0.159 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4d8e18',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e18;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e18",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 93.051,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.15921,
    "h": 135
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#4D8E18
secondary
#8742C0
accent
#3AEE9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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