#4C6112#4C6112

#4C6112 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.104 H 123.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4C6112
RGBrgb(76, 97, 18)
HSLhsl(76, 69%, 23%)
HSVhsv(76, 81%, 38%)
CMYKcmyk(21.6%, 0%, 81.4%, 62%)
CIE-LABlab(38.07, -19.92, 39.26)
CIE-LCHlch(38.07, 44.03, 116.90°)
OKLaboklab(45.94% -0.0582 0.0867)
OKLCHoklch(45.94% 0.104 123.9)
XYZxyz(7.3645, 10.1295, 2.1394)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6112 #271261
analogous
#614E12 #4C6112 #256112
triadic
#4C6112 #124C61 #61124C
tetradic
#4C6112 #12614E #271261 #611225
square
#4C6112 #12614E #271261 #611225
split-complementary
#4C6112 #122561 #4E1261
monochromatic
#141A05 #242D08 #4C6112 #74951C #9DC825

Accessibility & contrast

On white

6.94
#4C6112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6112
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6112#FFFFFF#000000##FFFFFF
##4C61121.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#505C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c6112;
/* rgb */ color: rgb(76, 97, 18);
/* oklch */ color: oklch(45.9% 0.104 123.9);
Tailwind
colors: {
  custom: {
    50: '#818e57',
    500: '#4c6112',
    950: '#000000',
  },
}
SCSS
$custom: #4c6112;
$custom-light: #818e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6112",
  "rgb": {
    "r": 76,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 75.949,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.10437,
    "h": 123.9
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#4C6112
secondary
#503699
accent
#3CEC6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6112

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

Preview Lab → · Contrast checker → · Palette generator →

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