#4D6C18#4D6C18

#4D6C18 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.0% C 0.115 H 128.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4D6C18
RGBrgb(77, 108, 24)
HSLhsl(82, 64%, 26%)
HSVhsv(82, 78%, 42%)
CMYKcmyk(28.7%, 0%, 77.8%, 57.6%)
CIE-LABlab(41.80, -24.76, 40.62)
CIE-LCHlch(41.80, 47.57, 121.36°)
OKLaboklab(48.99% -0.0709 0.0906)
OKLCHoklch(48.99% 0.115 128.1)
XYZxyz(8.5880, 12.3687, 2.7989)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6C18 #37186C
analogous
#6C6118 #4D6C18 #236C18
triadic
#4D6C18 #184D6C #6C184D
tetradic
#4D6C18 #186C61 #37186C #6C1823
square
#4D6C18 #186C61 #37186C #6C1823
split-complementary
#4D6C18 #18236C #61186C
monochromatic
#121906 #293A0D #4D6C18 #719E23 #94D02E

Accessibility & contrast

On white

6.05
#4D6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4D6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6C18
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6C18#FFFFFF#000000##FFFFFF
##4D6C181.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#50675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6c18;
/* rgb */ color: rgb(77, 108, 24);
/* oklch */ color: oklch(49.0% 0.115 128.1);
Tailwind
colors: {
  custom: {
    50: '#82965c',
    500: '#4d6c18',
    950: '#000000',
  },
}
SCSS
$custom: #4d6c18;
$custom-light: #82965c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6c18",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 82.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.11502,
    "h": 128.1
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#4D6C18
secondary
#633EA2
accent
#41E77E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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