#4D8A2B#4D8A2B

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

Color values

HEX#4D8A2B
RGBrgb(77, 138, 43)
HSLhsl(99, 52%, 35%)
HSVhsv(99, 69%, 54%)
CMYKcmyk(44.2%, 0%, 68.8%, 45.9%)
CIE-LABlab(51.76, -37.21, 43.03)
CIE-LCHlch(51.76, 56.89, 130.85°)
OKLaboklab(57.16% -0.1032 0.0985)
OKLCHoklch(57.16% 0.143 136.4)
XYZxyz(12.5848, 19.9284, 5.4685)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A2B #682B8A
analogous
#7C8A2B #4D8A2B #2B8A38
triadic
#4D8A2B #2B4D8A #8A2B4D
tetradic
#4D8A2B #2B7C8A #682B8A #8A382B
square
#4D8A2B #2B7C8A #682B8A #8A382B
split-complementary
#4D8A2B #382B8A #8A2B7C
monochromatic
#192D0E #335B1C #4D8A2B #67B93A #88CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8A2B#FFFFFF#000000##000000
##4D8A2B1.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)
#8F7F1E
Deuteranopia (green-blind)
#877933
Tritanopia (blue-blind)
#4A8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a2b;
/* rgb */ color: rgb(77, 138, 43);
/* oklch */ color: oklch(57.2% 0.143 136.4);
Tailwind
colors: {
  custom: {
    50: '#84ac69',
    500: '#4d8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a2b;
$custom-light: #84ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a2b",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 98.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.14268,
    "h": 136.4
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#4D8A2B
secondary
#955DB4
accent
#4CDCA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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