#4D6A18#4D6A18

#4D6A18 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.112 H 127.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4D6A18
RGBrgb(77, 106, 24)
HSLhsl(81, 63%, 25%)
HSVhsv(81, 77%, 42%)
CMYKcmyk(27.4%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.14, -23.76, 39.98)
CIE-LCHlch(41.14, 46.51, 120.72°)
OKLaboklab(48.45% -0.0682 0.0892)
OKLCHoklch(48.45% 0.112 127.4)
XYZxyz(8.3795, 11.9516, 2.7294)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6A18 #35186A
analogous
#6A5E18 #4D6A18 #246A18
triadic
#4D6A18 #184D6A #6A184D
tetradic
#4D6A18 #186A5E #35186A #6A1824
square
#4D6A18 #186A5E #35186A #6A1824
split-complementary
#4D6A18 #18246A #5E186A
monochromatic
#121906 #29380D #4D6A18 #719C23 #95CE2F

Accessibility & contrast

On white

6.19
#4D6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6A18
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6A18#FFFFFF#000000##FFFFFF
##4D6A181.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#50655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d6a18;
/* rgb */ color: rgb(77, 106, 24);
/* oklch */ color: oklch(48.5% 0.112 127.4);
Tailwind
colors: {
  custom: {
    50: '#82945b',
    500: '#4d6a18',
    950: '#000000',
  },
}
SCSS
$custom: #4d6a18;
$custom-light: #82945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6a18",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 81.22,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.11229,
    "h": 127.4
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#4D6A18
secondary
#613EA0
accent
#42E67C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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