#4D6112#4D6112

#4D6112 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.0% C 0.104 H 123.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4D6112
RGBrgb(77, 97, 18)
HSLhsl(75, 69%, 23%)
HSVhsv(75, 81%, 38%)
CMYKcmyk(20.6%, 0%, 81.4%, 62%)
CIE-LABlab(38.15, -19.46, 39.36)
CIE-LCHlch(38.15, 43.91, 116.31°)
OKLaboklab(46.02% -0.057 0.0868)
OKLCHoklch(46.02% 0.104 123.3)
XYZxyz(7.4445, 10.1708, 2.1431)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6112 #261261
analogous
#614E12 #4D6112 #256112
triadic
#4D6112 #124D61 #61124D
tetradic
#4D6112 #12614E #261261 #611225
square
#4D6112 #12614E #261261 #611225
split-complementary
#4D6112 #122561 #4E1261
monochromatic
#141A05 #242D08 #4D6112 #76951C #9FC825

Accessibility & contrast

On white

6.92
#4D6112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4D6112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6112
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6112#FFFFFF#000000##FFFFFF
##4D61121.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#645A1A
Tritanopia (blue-blind)
#515C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d6112;
/* rgb */ color: rgb(77, 97, 18);
/* oklch */ color: oklch(46.0% 0.104 123.3);
Tailwind
colors: {
  custom: {
    50: '#828e57',
    500: '#4d6112',
    950: '#000000',
  },
}
SCSS
$custom: #4d6112;
$custom-light: #828e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6112",
  "rgb": {
    "r": 77,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 75.19,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.10386,
    "h": 123.3
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#4D6112
secondary
#4F3699
accent
#3CEC69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6112

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

Preview Lab → · Contrast checker → · Palette generator →

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