#4D6F18#4D6F18

#4D6F18 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.119 H 129.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D6F18
RGBrgb(77, 111, 24)
HSLhsl(83, 64%, 26%)
HSVhsv(83, 78%, 44%)
CMYKcmyk(30.6%, 0%, 78.4%, 56.5%)
CIE-LABlab(42.78, -26.24, 41.58)
CIE-LCHlch(42.78, 49.16, 122.25°)
OKLaboklab(49.79% -0.075 0.0926)
OKLCHoklch(49.79% 0.119 129)
XYZxyz(8.9099, 13.0124, 2.9062)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6F18 #3A186F
analogous
#6F6618 #4D6F18 #226F18
triadic
#4D6F18 #184D6F #6F184D
tetradic
#4D6F18 #186F66 #3A186F #6F1822
square
#4D6F18 #186F66 #3A186F #6F1822
split-complementary
#4D6F18 #18226F #66186F
monochromatic
#111905 #2A3D0D #4D6F18 #70A123 #92D22F

Accessibility & contrast

On white

5.83
#4D6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6F18
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6F18#FFFFFF#000000##FFFFFF
##4D6F181.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#506A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d6f18;
/* rgb */ color: rgb(77, 111, 24);
/* oklch */ color: oklch(49.8% 0.119 129.0);
Tailwind
colors: {
  custom: {
    50: '#82985c',
    500: '#4d6f18',
    950: '#000000',
  },
}
SCSS
$custom: #4d6f18;
$custom-light: #82985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6f18",
  "rgb": {
    "r": 77,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 83.448,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.11911,
    "h": 129
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#4D6F18
secondary
#663EA5
accent
#40E782
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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