#4D951F#4D951F

#4D951F is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.0% C 0.164 H 136.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4D951F
RGBrgb(77, 149, 31)
HSLhsl(97, 66%, 35%)
HSVhsv(97, 79%, 58%)
CMYKcmyk(48.3%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.25, -42.70, 51.09)
CIE-LCHlch(55.25, 66.58, 129.89°)
OKLaboklab(60% -0.1189 0.1136)
OKLCHoklch(60% 0.164 136.3)
XYZxyz(14.0550, 23.1707, 5.0278)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D951F #671F95
analogous
#88951F #4D951F #1F952C
triadic
#4D951F #1F4D95 #951F4D
tetradic
#4D951F #1F8895 #671F95 #952C1F
square
#4D951F #1F8895 #671F95 #952C1F
split-complementary
#4D951F #2C1F95 #951F88
monochromatic
#19300A #336214 #4D951F #67C82A #88DB53

Accessibility & contrast

On white

3.73
#4D951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4D951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D951F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D951F#FFFFFF#000000##000000
##4D951F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#4A8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d951f;
/* rgb */ color: rgb(77, 149, 31);
/* oklch */ color: oklch(60.0% 0.164 136.3);
Tailwind
colors: {
  custom: {
    50: '#86b565',
    500: '#4d951f',
    950: '#000000',
  },
}
SCSS
$custom: #4d951f;
$custom-light: #86b565;
$custom-dark: #000000;
JSON
{
  "hex": "#4d951f",
  "rgb": {
    "r": 77,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 96.61,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6,
    "c": 0.16445,
    "h": 136.3
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#4D951F
secondary
#9451BF
accent
#3FE9A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D951F

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

Preview Lab → · Contrast checker → · Palette generator →

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