#4D891F#4D891F

#4D891F is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.149 H 134.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D891F
RGBrgb(77, 137, 31)
HSLhsl(94, 63%, 33%)
HSVhsv(94, 77%, 54%)
CMYKcmyk(43.8%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.34, -37.69, 47.34)
CIE-LCHlch(51.34, 60.51, 128.53°)
OKLaboklab(56.8% -0.1054 0.1058)
OKLCHoklch(56.8% 0.149 134.9)
XYZxyz(12.2533, 19.5673, 4.4273)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D891F #5B1F89
analogous
#82891F #4D891F #1F8926
triadic
#4D891F #1F4D89 #891F4D
tetradic
#4D891F #1F8289 #5B1F89 #89261F
square
#4D891F #1F8289 #5B1F89 #89261F
split-complementary
#4D891F #261F89 #891F82
monochromatic
#152508 #315714 #4D891F #69BB2A #88D64C

Accessibility & contrast

On white

4.27
#4D891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4D891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D891F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D891F#FFFFFF#000000##000000
##4D891F1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#4C8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d891f;
/* rgb */ color: rgb(77, 137, 31);
/* oklch */ color: oklch(56.8% 0.149 134.9);
Tailwind
colors: {
  custom: {
    50: '#84ac63',
    500: '#4d891f',
    950: '#000000',
  },
}
SCSS
$custom: #4d891f;
$custom-light: #84ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d891f",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 93.962,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.14933,
    "h": 134.9
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#4D891F
secondary
#894BB9
accent
#42E69F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D891F

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

Preview Lab → · Contrast checker → · Palette generator →

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