#4D941F#4D941F

#4D941F is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 59.7% C 0.163 H 136.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D941F
RGBrgb(77, 148, 31)
HSLhsl(96, 65%, 35%)
HSVhsv(96, 79%, 58%)
CMYKcmyk(48%, 0%, 79.1%, 42%)
CIE-LABlab(54.92, -42.29, 50.78)
CIE-LCHlch(54.92, 66.08, 129.79°)
OKLaboklab(59.73% -0.1178 0.113)
OKLCHoklch(59.73% 0.163 136.2)
XYZxyz(13.8974, 22.8556, 4.9753)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D941F #661F94
analogous
#88941F #4D941F #1F942B
triadic
#4D941F #1F4D94 #941F4D
tetradic
#4D941F #1F8894 #661F94 #942B1F
square
#4D941F #1F8894 #661F94 #942B1F
split-complementary
#4D941F #2B1F94 #941F88
monochromatic
#182F0A #336114 #4D941F #67C72A #88DB53

Accessibility & contrast

On white

3.77
#4D941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4D941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D941F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D941F#FFFFFF#000000##000000
##4D941F1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#4A8E7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d941f;
/* rgb */ color: rgb(77, 148, 31);
/* oklch */ color: oklch(59.7% 0.163 136.2);
Tailwind
colors: {
  custom: {
    50: '#86b465',
    500: '#4d941f',
    950: '#000000',
  },
}
SCSS
$custom: #4d941f;
$custom-light: #86b465;
$custom-dark: #000000;
JSON
{
  "hex": "#4d941f",
  "rgb": {
    "r": 77,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 96.41,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.16322,
    "h": 136.2
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#4D941F
secondary
#9351BE
accent
#3FE8A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D941F

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

Preview Lab → · Contrast checker → · Palette generator →

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