#4D6615#4D6615

#4D6615 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.109 H 125.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4D6615
RGBrgb(77, 102, 21)
HSLhsl(79, 66%, 24%)
HSVhsv(79, 79%, 40%)
CMYKcmyk(24.5%, 0%, 79.4%, 60%)
CIE-LABlab(39.81, -21.90, 39.83)
CIE-LCHlch(39.81, 45.46, 118.81°)
OKLaboklab(47.37% -0.0634 0.0884)
OKLCHoklch(47.37% 0.109 125.7)
XYZxyz(7.9474, 11.1346, 2.4398)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6615 #2E1566
analogous
#665715 #4D6615 #246615
triadic
#4D6615 #154D66 #66154D
tetradic
#4D6615 #156657 #2E1566 #661524
square
#4D6615 #156657 #2E1566 #661524
split-complementary
#4D6615 #152466 #571566
monochromatic
#131905 #27330B #4D6615 #73991F #9ACC2A

Accessibility & contrast

On white

6.51
#4D6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6615
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6615#FFFFFF#000000##FFFFFF
##4D66151.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#695D1D
Tritanopia (blue-blind)
#516157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d6615;
/* rgb */ color: rgb(77, 102, 21);
/* oklch */ color: oklch(47.4% 0.109 125.7);
Tailwind
colors: {
  custom: {
    50: '#829159',
    500: '#4d6615',
    950: '#000000',
  },
}
SCSS
$custom: #4d6615;
$custom-light: #829159;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6615",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 78.519,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.10877,
    "h": 125.7
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#4D6615
secondary
#583A9D
accent
#3FE973
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6615

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

Preview Lab → · Contrast checker → · Palette generator →

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