#4C6618#4C6618

#4C6618 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.3% C 0.107 H 126.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4C6618
RGBrgb(76, 102, 24)
HSLhsl(80, 62%, 25%)
HSVhsv(80, 76%, 40%)
CMYKcmyk(25.5%, 0%, 76.5%, 60%)
CIE-LABlab(39.76, -22.16, 38.60)
CIE-LCHlch(39.76, 44.51, 119.85°)
OKLaboklab(47.31% -0.0638 0.0863)
OKLCHoklch(47.31% 0.107 126.4)
XYZxyz(7.8968, 11.1051, 2.5914)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6618 #321866
analogous
#665918 #4C6618 #256618
triadic
#4C6618 #184C66 #66184C
tetradic
#4C6618 #186659 #321866 #661825
square
#4C6618 #186659 #321866 #661825
split-complementary
#4C6618 #182566 #591866
monochromatic
#121906 #27340C #4C6618 #719824 #96C92F

Accessibility & contrast

On white

6.52
#4C6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6618
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6618#FFFFFF#000000##FFFFFF
##4C66181.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#4F6157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c6618;
/* rgb */ color: rgb(76, 102, 24);
/* oklch */ color: oklch(47.3% 0.107 126.4);
Tailwind
colors: {
  custom: {
    50: '#81915b',
    500: '#4c6618',
    950: '#000000',
  },
}
SCSS
$custom: #4c6618;
$custom-light: #81915b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6618",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 80,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.10733,
    "h": 126.4
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#4C6618
secondary
#5D3E9C
accent
#43E579
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #4C6618

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

Preview Lab → · Contrast checker → · Palette generator →

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