#4C6918#4C6918

#4C6918 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.111 H 127.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4C6918
RGBrgb(76, 105, 24)
HSLhsl(81, 63%, 25%)
HSVhsv(81, 77%, 41%)
CMYKcmyk(27.6%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.74, -23.68, 39.57)
CIE-LCHlch(40.74, 46.12, 120.90°)
OKLaboklab(48.12% -0.0679 0.0884)
OKLCHoklch(48.12% 0.111 127.5)
XYZxyz(8.1969, 11.7054, 2.6915)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6918 #351869
analogous
#695D18 #4C6918 #246918
triadic
#4C6918 #184C69 #69184C
tetradic
#4C6918 #18695D #351869 #691824
square
#4C6918 #18695D #351869 #691824
split-complementary
#4C6918 #182469 #5D1869
monochromatic
#121906 #28370D #4C6918 #709B23 #94CD2F

Accessibility & contrast

On white

6.29
#4C6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4C6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6918
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6918#FFFFFF#000000##FFFFFF
##4C69181.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6108
Deuteranopia (green-blind)
#6B5F1F
Tritanopia (blue-blind)
#4F6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6918;
/* rgb */ color: rgb(76, 105, 24);
/* oklch */ color: oklch(48.1% 0.111 127.5);
Tailwind
colors: {
  custom: {
    50: '#81945b',
    500: '#4c6918',
    950: '#000000',
  },
}
SCSS
$custom: #4c6918;
$custom-light: #81945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6918",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 81.481,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.11147,
    "h": 127.5
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#4C6918
secondary
#613E9F
accent
#42E67D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6918

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

Preview Lab → · Contrast checker → · Palette generator →

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