#4D8A2E#4D8A2E

#4D8A2E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.140 H 136.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4D8A2E
RGBrgb(77, 138, 46)
HSLhsl(100, 50%, 36%)
HSVhsv(100, 67%, 54%)
CMYKcmyk(44.2%, 0%, 66.7%, 45.9%)
CIE-LABlab(51.78, -36.94, 41.75)
CIE-LCHlch(51.78, 55.74, 131.50°)
OKLaboklab(57.19% -0.1023 0.0962)
OKLCHoklch(57.19% 0.14 136.8)
XYZxyz(12.6418, 19.9513, 5.7691)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A2E #6B2E8A
analogous
#7B8A2E #4D8A2E #2E8A3D
triadic
#4D8A2E #2E4D8A #8A2E4D
tetradic
#4D8A2E #2E7B8A #6B2E8A #8A3D2E
square
#4D8A2E #2E7B8A #6B2E8A #8A3D2E
split-complementary
#4D8A2E #3D2E8A #8A2E7B
monochromatic
#1A2E0F #335C1F #4D8A2E #67B83D #89CC66

Accessibility & contrast

On white

4.21
#4D8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4D8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A2E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A2E#FFFFFF#000000##000000
##4D8A2E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#867A36
Tritanopia (blue-blind)
#4A8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a2e;
/* rgb */ color: rgb(77, 138, 46);
/* oklch */ color: oklch(57.2% 0.140 136.8);
Tailwind
colors: {
  custom: {
    50: '#84ac6b',
    500: '#4d8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a2e;
$custom-light: #84ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a2e",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 99.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.14038,
    "h": 136.8
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#4D8A2E
secondary
#9761B3
accent
#4EDAAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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