#4D8A1C#4D8A1C

#4D8A1C is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.152 H 134.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8A1C
RGBrgb(77, 138, 28)
HSLhsl(93, 66%, 33%)
HSVhsv(93, 80%, 54%)
CMYKcmyk(44.2%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.65, -38.30, 48.66)
CIE-LCHlch(51.65, 61.93, 128.21°)
OKLaboklab(57.04% -0.1073 0.1081)
OKLCHoklch(57.04% 0.152 134.8)
XYZxyz(12.3584, 19.8379, 4.2763)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A1C #591C8A
analogous
#848A1C #4D8A1C #1C8A22
triadic
#4D8A1C #1C4D8A #8A1C4D
tetradic
#4D8A1C #1C848A #591C8A #8A221C
square
#4D8A1C #1C848A #591C8A #8A221C
split-complementary
#4D8A1C #221C8A #8A1C84
monochromatic
#142407 #315712 #4D8A1C #69BD26 #88DA47

Accessibility & contrast

On white

4.23
#4D8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A1C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A1C#FFFFFF#000000##000000
##4D8A1C1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#4C8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a1c;
/* rgb */ color: rgb(77, 138, 28);
/* oklch */ color: oklch(57.0% 0.152 134.8);
Tailwind
colors: {
  custom: {
    50: '#85ac62',
    500: '#4d8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a1c;
$custom-light: #85ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a1c",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 93.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.15226,
    "h": 134.8
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#4D8A1C
secondary
#8746BB
accent
#3FE99D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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