#4D8A28#4D8A28

#4D8A28 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.145 H 136.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D8A28
RGBrgb(77, 138, 40)
HSLhsl(97, 55%, 35%)
HSVhsv(97, 71%, 54%)
CMYKcmyk(44.2%, 0%, 71%, 45.9%)
CIE-LABlab(51.73, -37.46, 44.27)
CIE-LCHlch(51.73, 57.99, 130.24°)
OKLaboklab(57.13% -0.1042 0.1007)
OKLCHoklch(57.13% 0.145 136)
XYZxyz(12.5317, 19.9072, 5.1892)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A28 #65288A
analogous
#7E8A28 #4D8A28 #288A34
triadic
#4D8A28 #284D8A #8A284D
tetradic
#4D8A28 #287E8A #65288A #8A3428
square
#4D8A28 #287E8A #65288A #8A3428
split-complementary
#4D8A28 #34288A #8A287E
monochromatic
#182B0C #335B1A #4D8A28 #67B936 #88D05D

Accessibility & contrast

On white

4.22
#4D8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4D8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A28
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A28#FFFFFF#000000##000000
##4D8A281.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a28;
/* rgb */ color: rgb(77, 138, 40);
/* oklch */ color: oklch(57.1% 0.145 136.0);
Tailwind
colors: {
  custom: {
    50: '#84ac68',
    500: '#4d8a28',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a28;
$custom-light: #84ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a28",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 97.347,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.14485,
    "h": 136
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#4D8A28
secondary
#9259B5
accent
#49DEA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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