#4D6919#4D6919

#4D6919 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.110 H 127.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D6919
RGBrgb(77, 105, 25)
HSLhsl(81, 62%, 25%)
HSVhsv(81, 76%, 41%)
CMYKcmyk(26.7%, 0%, 76.2%, 58.8%)
CIE-LABlab(40.82, -23.19, 39.27)
CIE-LCHlch(40.82, 45.61, 120.56°)
OKLaboklab(48.19% -0.0665 0.0879)
OKLCHoklch(48.19% 0.11 127.1)
XYZxyz(8.2876, 11.7510, 2.7510)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6919 #351969
analogous
#695D19 #4D6919 #256919
triadic
#4D6919 #194D69 #69194D
tetradic
#4D6919 #19695D #351969 #691925
square
#4D6919 #19695D #351969 #691925
split-complementary
#4D6919 #192569 #5D1969
monochromatic
#121906 #29380D #4D6919 #719A25 #95CC31

Accessibility & contrast

On white

6.27
#4D6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D6919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6919
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6919#FFFFFF#000000##FFFFFF
##4D69191.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610A
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#506459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6919;
/* rgb */ color: rgb(77, 105, 25);
/* oklch */ color: oklch(48.2% 0.110 127.1);
Tailwind
colors: {
  custom: {
    50: '#82945c',
    500: '#4d6919',
    950: '#000000',
  },
}
SCSS
$custom: #4d6919;
$custom-light: #82945c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6919",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 81,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48194,
    "c": 0.11025,
    "h": 127.1
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#4D6919
secondary
#613F9F
accent
#43E57C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6919

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

Preview Lab → · Contrast checker → · Palette generator →

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