#4D8E1C#4D8E1C

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

Color values

HEX#4D8E1C
RGBrgb(77, 142, 28)
HSLhsl(94, 67%, 33%)
HSVhsv(94, 80%, 56%)
CMYKcmyk(45.8%, 0%, 80.3%, 44.3%)
CIE-LABlab(52.96, -39.99, 49.89)
CIE-LCHlch(52.96, 63.94, 128.71°)
OKLaboklab(58.11% -0.1118 0.1106)
OKLCHoklch(58.11% 0.157 135.3)
XYZxyz(12.9429, 21.0068, 4.4711)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E1C #5D1C8E
analogous
#868E1C #4D8E1C #1C8E24
triadic
#4D8E1C #1C4D8E #8E1C4D
tetradic
#4D8E1C #1C868E #5D1C8E #8E241C
square
#4D8E1C #1C868E #5D1C8E #8E241C
split-complementary
#4D8E1C #241C8E #8E1C86
monochromatic
#162808 #315B12 #4D8E1C #69C126 #88DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8E1C#FFFFFF#000000##000000
##4D8E1C1.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)
#938200
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e1c;
/* rgb */ color: rgb(77, 142, 28);
/* oklch */ color: oklch(58.1% 0.157 135.3);
Tailwind
colors: {
  custom: {
    50: '#85af62',
    500: '#4d8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e1c;
$custom-light: #85af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e1c",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 94.211,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.1573,
    "h": 135.3
  },
  "luminance": 0.21008
}

Semantic roles & 50–950 ramp

primary
#4D8E1C
secondary
#8B49BD
accent
#3EEAA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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