#4D6612#4D6612

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

Color values

HEX#4D6612
RGBrgb(77, 102, 18)
HSLhsl(78, 70%, 24%)
HSVhsv(78, 82%, 40%)
CMYKcmyk(24.5%, 0%, 82.4%, 60%)
CIE-LABlab(39.79, -22.07, 40.88)
CIE-LCHlch(39.79, 46.46, 118.36°)
OKLaboklab(47.35% -0.0641 0.09)
OKLCHoklch(47.35% 0.111 125.5)
XYZxyz(7.9212, 11.1241, 2.3020)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6612 #2B1266
analogous
#665512 #4D6612 #236612
triadic
#4D6612 #124D66 #66124D
tetradic
#4D6612 #126655 #2B1266 #661223
square
#4D6612 #126655 #2B1266 #661223
split-complementary
#4D6612 #122366 #551266
monochromatic
#141A05 #263209 #4D6612 #749A1B #9CCE24

Accessibility & contrast

On white

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

On black

3.22
#4D6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D6612#FFFFFF#000000##FFFFFF
##4D66121.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#695D1B
Tritanopia (blue-blind)
#516156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d6612;
/* rgb */ color: rgb(77, 102, 18);
/* oklch */ color: oklch(47.3% 0.111 125.5);
Tailwind
colors: {
  custom: {
    50: '#829158',
    500: '#4d6612',
    950: '#000000',
  },
}
SCSS
$custom: #4d6612;
$custom-light: #829158;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6612",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 77.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.11053,
    "h": 125.5
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#4D6612
secondary
#55369E
accent
#3BED70
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6612

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

Preview Lab → · Contrast checker → · Palette generator →

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