#4D9226#4D9226

#4D9226 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.2% C 0.157 H 136.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4D9226
RGBrgb(77, 146, 38)
HSLhsl(98, 59%, 36%)
HSVhsv(98, 74%, 57%)
CMYKcmyk(47.3%, 0%, 74%, 42.7%)
CIE-LABlab(54.32, -41.00, 47.70)
CIE-LCHlch(54.32, 62.90, 130.68°)
OKLaboklab(59.25% -0.1139 0.1076)
OKLCHoklch(59.25% 0.157 136.6)
XYZxyz(13.6889, 22.2746, 5.4115)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9226 #6B2692
analogous
#839226 #4D9226 #269235
triadic
#4D9226 #264D92 #92264D
tetradic
#4D9226 #268392 #6B2692 #923526
square
#4D9226 #268392 #6B2692 #923526
split-complementary
#4D9226 #352692 #922683
monochromatic
#1A310D #336119 #4D9226 #67C333 #89D55D

Accessibility & contrast

On white

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

On black

5.45
#4D9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9226
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9226#FFFFFF#000000##000000
##4D92261.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978512
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#4A8D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d9226;
/* rgb */ color: rgb(77, 146, 38);
/* oklch */ color: oklch(59.2% 0.157 136.6);
Tailwind
colors: {
  custom: {
    50: '#85b268',
    500: '#4d9226',
    950: '#000000',
  },
}
SCSS
$custom: #4d9226;
$custom-light: #85b268;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9226",
  "rgb": {
    "r": 77,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 98.333,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.15665,
    "h": 136.6
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#4D9226
secondary
#975ABA
accent
#46E2AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9226

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

Preview Lab → · Contrast checker → · Palette generator →

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