#4D6913#4D6913

#4D6913 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.114 H 126.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4D6913
RGBrgb(77, 105, 19)
HSLhsl(80, 69%, 24%)
HSVhsv(80, 82%, 41%)
CMYKcmyk(26.7%, 0%, 81.9%, 58.8%)
CIE-LABlab(40.78, -23.54, 41.46)
CIE-LCHlch(40.78, 47.68, 119.59°)
OKLaboklab(48.15% -0.068 0.0914)
OKLCHoklch(48.15% 0.114 126.7)
XYZxyz(8.2297, 11.7278, 2.4461)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6913 #2F1369
analogous
#695A13 #4D6913 #226913
triadic
#4D6913 #134D69 #69134D
tetradic
#4D6913 #13695A #2F1369 #691322
square
#4D6913 #13695A #2F1369 #691322
split-complementary
#4D6913 #132269 #5A1369
monochromatic
#131A05 #27350A #4D6913 #739D1C #99D126

Accessibility & contrast

On white

6.28
#4D6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6913
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6913#FFFFFF#000000##FFFFFF
##4D69131.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d6913;
/* rgb */ color: rgb(77, 105, 19);
/* oklch */ color: oklch(48.2% 0.114 126.7);
Tailwind
colors: {
  custom: {
    50: '#829459',
    500: '#4d6913',
    950: '#000000',
  },
}
SCSS
$custom: #4d6913;
$custom-light: #829459;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6913",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 79.535,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.11398,
    "h": 126.7
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#4D6913
secondary
#5A38A0
accent
#3CEC75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6913

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

Preview Lab → · Contrast checker → · Palette generator →

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