#4D9228#4D9228

#4D9228 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.3% C 0.155 H 136.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4D9228
RGBrgb(77, 146, 40)
HSLhsl(99, 57%, 36%)
HSVhsv(99, 73%, 57%)
CMYKcmyk(47.3%, 0%, 72.6%, 42.7%)
CIE-LABlab(54.33, -40.85, 46.95)
CIE-LCHlch(54.33, 62.23, 131.03°)
OKLaboklab(59.27% -0.1133 0.1063)
OKLCHoklch(59.27% 0.155 136.8)
XYZxyz(13.7221, 22.2879, 5.5860)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9228 #6D2892
analogous
#829228 #4D9228 #289238
triadic
#4D9228 #284D92 #92284D
tetradic
#4D9228 #288292 #6D2892 #923828
square
#4D9228 #288292 #6D2892 #923828
split-complementary
#4D9228 #382892 #922882
monochromatic
#1A320E #34621B #4D9228 #66C235 #89D461

Accessibility & contrast

On white

3.85
#4D9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4D9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9228
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9228#FFFFFF#000000##000000
##4D92281.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978616
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#498D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d9228;
/* rgb */ color: rgb(77, 146, 40);
/* oklch */ color: oklch(59.3% 0.155 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b269',
    500: '#4d9228',
    950: '#000000',
  },
}
SCSS
$custom: #4d9228;
$custom-light: #85b269;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9228",
  "rgb": {
    "r": 77,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 99.057,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.15536,
    "h": 136.8
  },
  "luminance": 0.22289
}

Semantic roles & 50–950 ramp

primary
#4D9228
secondary
#995DB9
accent
#48E0AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4D9228

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

Preview Lab → · Contrast checker → · Palette generator →

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