#4D841F#4D841F

#4D841F is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.143 H 134.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D841F
RGBrgb(77, 132, 31)
HSLhsl(93, 62%, 32%)
HSVhsv(93, 77%, 52%)
CMYKcmyk(41.7%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.71, -35.52, 45.74)
CIE-LCHlch(49.71, 57.91, 127.83°)
OKLaboklab(55.46% -0.0996 0.1024)
OKLCHoklch(55.46% 0.143 134.2)
XYZxyz(11.5589, 18.1786, 4.1958)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D841F #561F84
analogous
#80841F #4D841F #1F8423
triadic
#4D841F #1F4D84 #841F4D
tetradic
#4D841F #1F8084 #561F84 #84231F
square
#4D841F #1F8084 #561F84 #84231F
split-complementary
#4D841F #231F84 #841F80
monochromatic
#132108 #305213 #4D841F #6AB62B #89D449

Accessibility & contrast

On white

4.53
#4D841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4D841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D841F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D841F#FFFFFF#000000##000000
##4D841F1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#4C7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d841f;
/* rgb */ color: rgb(77, 132, 31);
/* oklch */ color: oklch(55.5% 0.143 134.2);
Tailwind
colors: {
  custom: {
    50: '#84a862',
    500: '#4d841f',
    950: '#000000',
  },
}
SCSS
$custom: #4d841f;
$custom-light: #84a862;
$custom-dark: #000000;
JSON
{
  "hex": "#4d841f",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 92.673,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.14284,
    "h": 134.2
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#4D841F
secondary
#8448B7
accent
#43E59B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D841F

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

Preview Lab → · Contrast checker → · Palette generator →

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