#4D8F2A#4D8F2A

#4D8F2A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.150 H 136.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D8F2A
RGBrgb(77, 143, 42)
HSLhsl(99, 55%, 36%)
HSVhsv(99, 71%, 56%)
CMYKcmyk(46.2%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.37, -39.43, 45.15)
CIE-LCHlch(53.37, 59.95, 131.13°)
OKLaboklab(58.48% -0.1093 0.1028)
OKLCHoklch(58.48% 0.15 136.8)
XYZxyz(13.3006, 21.3890, 5.6177)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F2A #6C2A8F
analogous
#808F2A #4D8F2A #2A8F3A
triadic
#4D8F2A #2A4D8F #8F2A4D
tetradic
#4D8F2A #2A808F #6C2A8F #8F3A2A
square
#4D8F2A #2A808F #6C2A8F #8F3A2A
split-complementary
#4D8F2A #3A2A8F #8F2A80
monochromatic
#1A300E #34601C #4D8F2A #66BE38 #89D162

Accessibility & contrast

On white

3.98
#4D8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4D8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F2A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F2A#FFFFFF#000000##000000
##4D8F2A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#4A8A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f2a;
/* rgb */ color: rgb(77, 143, 42);
/* oklch */ color: oklch(58.5% 0.150 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b069',
    500: '#4d8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f2a;
$custom-light: #85b069;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f2a",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 99.208,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.15008,
    "h": 136.8
  },
  "luminance": 0.2139
}

Semantic roles & 50–950 ramp

primary
#4D8F2A
secondary
#985EB7
accent
#4ADEAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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