#4C6418#4C6418

#4C6418 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.105 H 125.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4C6418
RGBrgb(76, 100, 24)
HSLhsl(79, 61%, 24%)
HSVhsv(79, 76%, 39%)
CMYKcmyk(24%, 0%, 76%, 60.8%)
CIE-LABlab(39.10, -21.12, 37.95)
CIE-LCHlch(39.10, 43.43, 119.10°)
OKLaboklab(46.78% -0.0609 0.085)
OKLCHoklch(46.78% 0.105 125.6)
XYZxyz(7.7026, 10.7167, 2.5267)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6418 #301864
analogous
#645618 #4C6418 #266418
triadic
#4C6418 #184C64 #64184C
tetradic
#4C6418 #186456 #301864 #641826
square
#4C6418 #186456 #301864 #641826
split-complementary
#4C6418 #182664 #561864
monochromatic
#131906 #26330C #4C6418 #729524 #97C730

Accessibility & contrast

On white

6.68
#4C6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6418
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6418#FFFFFF#000000##FFFFFF
##4C64181.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#665C1F
Tritanopia (blue-blind)
#505F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c6418;
/* rgb */ color: rgb(76, 100, 24);
/* oklch */ color: oklch(46.8% 0.105 125.6);
Tailwind
colors: {
  custom: {
    50: '#81905b',
    500: '#4c6418',
    950: '#000000',
  },
}
SCSS
$custom: #4c6418;
$custom-light: #81905b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6418",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 78.947,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.10457,
    "h": 125.6
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#4C6418
secondary
#5B3E9A
accent
#43E476
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4C6418

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

Preview Lab → · Contrast checker → · Palette generator →

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