#4D891C#4D891C

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

Color values

HEX#4D891C
RGBrgb(77, 137, 28)
HSLhsl(93, 66%, 32%)
HSVhsv(93, 80%, 54%)
CMYKcmyk(43.8%, 0%, 79.6%, 46.3%)
CIE-LABlab(51.33, -37.88, 48.35)
CIE-LCHlch(51.33, 61.42, 128.07°)
OKLaboklab(56.78% -0.1061 0.1074)
OKLCHoklch(56.78% 0.151 134.7)
XYZxyz(12.2156, 19.5523, 4.2287)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D891C #581C89
analogous
#83891C #4D891C #1C8922
triadic
#4D891C #1C4D89 #891C4D
tetradic
#4D891C #1C8389 #581C89 #89221C
square
#4D891C #1C8389 #581C89 #89221C
split-complementary
#4D891C #221C89 #891C83
monochromatic
#142307 #305612 #4D891C #6ABC26 #88D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D891C#FFFFFF#000000##000000
##4D891C1.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)
#867928
Tritanopia (blue-blind)
#4C8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d891c;
/* rgb */ color: rgb(77, 137, 28);
/* oklch */ color: oklch(56.8% 0.151 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ac62',
    500: '#4d891c',
    950: '#000000',
  },
}
SCSS
$custom: #4d891c;
$custom-light: #85ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d891c",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 93.028,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.151,
    "h": 134.7
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#4D891C
secondary
#8646BB
accent
#3FE99C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D891C

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

Preview Lab → · Contrast checker → · Palette generator →

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