#4D6D18#4D6D18

#4D6D18 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.116 H 128.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4D6D18
RGBrgb(77, 109, 24)
HSLhsl(83, 64%, 26%)
HSVhsv(83, 78%, 43%)
CMYKcmyk(29.4%, 0%, 78%, 57.3%)
CIE-LABlab(42.12, -25.25, 40.94)
CIE-LCHlch(42.12, 48.10, 121.67°)
OKLaboklab(49.25% -0.0723 0.0912)
OKLCHoklch(49.25% 0.116 128.4)
XYZxyz(8.6941, 12.5808, 2.8343)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6D18 #38186D
analogous
#6D6218 #4D6D18 #226D18
triadic
#4D6D18 #184D6D #6D184D
tetradic
#4D6D18 #186D62 #38186D #6D1822
square
#4D6D18 #186D62 #38186D #6D1822
split-complementary
#4D6D18 #18226D #62186D
monochromatic
#121906 #2A3B0D #4D6D18 #709F23 #94D12E

Accessibility & contrast

On white

5.97
#4D6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4D6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6D18
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6D18#FFFFFF#000000##FFFFFF
##4D6D181.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#50685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6d18;
/* rgb */ color: rgb(77, 109, 24);
/* oklch */ color: oklch(49.3% 0.116 128.4);
Tailwind
colors: {
  custom: {
    50: '#82975c',
    500: '#4d6d18',
    950: '#000000',
  },
}
SCSS
$custom: #4d6d18;
$custom-light: #82975c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6d18",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 82.588,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.11639,
    "h": 128.4
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#4D6D18
secondary
#643EA3
accent
#41E77F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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