#4D891B#4D891B

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

Color values

HEX#4D891B
RGBrgb(77, 137, 27)
HSLhsl(93, 67%, 32%)
HSVhsv(93, 80%, 54%)
CMYKcmyk(43.8%, 0%, 80.3%, 46.3%)
CIE-LABlab(51.32, -37.94, 48.68)
CIE-LCHlch(51.32, 61.71, 127.93°)
OKLaboklab(56.77% -0.1064 0.1079)
OKLCHoklch(56.77% 0.152 134.6)
XYZxyz(12.2038, 19.5476, 4.1667)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D891B #571B89
analogous
#84891B #4D891B #1B8920
triadic
#4D891B #1B4D89 #891B4D
tetradic
#4D891B #1B8489 #571B89 #89201B
square
#4D891B #1B8489 #571B89 #89201B
split-complementary
#4D891B #201B89 #891B84
monochromatic
#142307 #305611 #4D891B #6ABC25 #88DA44

Accessibility & contrast

On white

4.28
#4D891B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D891B#FFFFFF#000000##000000
##4D891B1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867927
Tritanopia (blue-blind)
#4C8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d891b;
/* rgb */ color: rgb(77, 137, 27);
/* oklch */ color: oklch(56.8% 0.152 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ac61',
    500: '#4d891b',
    950: '#000000',
  },
}
SCSS
$custom: #4d891b;
$custom-light: #85ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d891b",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 92.727,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.15153,
    "h": 134.6
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#4D891B
secondary
#8544BC
accent
#3EEA9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D891B

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

Preview Lab → · Contrast checker → · Palette generator →

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