#4D8B1C#4D8B1C

#4D8B1C is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.154 H 134.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4D8B1C
RGBrgb(77, 139, 28)
HSLhsl(94, 66%, 33%)
HSVhsv(94, 80%, 55%)
CMYKcmyk(44.6%, 0%, 79.9%, 45.5%)
CIE-LABlab(51.98, -38.73, 48.97)
CIE-LCHlch(51.98, 62.43, 128.34°)
OKLaboklab(57.31% -0.1084 0.1087)
OKLCHoklch(57.31% 0.154 134.9)
XYZxyz(12.5025, 20.1261, 4.3243)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B1C #5A1C8B
analogous
#848B1C #4D8B1C #1C8B23
triadic
#4D8B1C #1C4D8B #8B1C4D
tetradic
#4D8B1C #1C848B #5A1C8B #8B231C
square
#4D8B1C #1C848B #5A1C8B #8B231C
split-complementary
#4D8B1C #231C8B #8B1C84
monochromatic
#152507 #315812 #4D8B1C #69BE26 #88DA47

Accessibility & contrast

On white

4.18
#4D8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4D8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8B1C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8B1C#FFFFFF#000000##000000
##4D8B1C1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8b1c;
/* rgb */ color: rgb(77, 139, 28);
/* oklch */ color: oklch(57.3% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#85ad62',
    500: '#4d8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b1c;
$custom-light: #85ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b1c",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 93.514,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.15353,
    "h": 134.9
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#4D8B1C
secondary
#8847BC
accent
#3EE99E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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