#4C6914#4C6914

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

Color values

HEX#4C6914
RGBrgb(76, 105, 20)
HSLhsl(80, 68%, 25%)
HSVhsv(80, 81%, 41%)
CMYKcmyk(27.6%, 0%, 81%, 58.8%)
CIE-LABlab(40.72, -23.92, 41.04)
CIE-LCHlch(40.72, 47.50, 120.24°)
OKLaboklab(48.09% -0.0689 0.0908)
OKLCHoklch(48.09% 0.114 127.2)
XYZxyz(8.1584, 11.6900, 2.4883)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6914 #311469
analogous
#695C14 #4C6914 #216914
triadic
#4C6914 #144C69 #69144C
tetradic
#4C6914 #14695C #311469 #691421
square
#4C6914 #14695C #311469 #691421
split-complementary
#4C6914 #142169 #5C1469
monochromatic
#131A05 #27360A #4C6914 #719C1E #96D028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6914#FFFFFF#000000##FFFFFF
##4C69141.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)
#6F6101
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#4F6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6914;
/* rgb */ color: rgb(76, 105, 20);
/* oklch */ color: oklch(48.1% 0.114 127.2);
Tailwind
colors: {
  custom: {
    50: '#819459',
    500: '#4c6914',
    950: '#000000',
  },
}
SCSS
$custom: #4c6914;
$custom-light: #819459;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6914",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 80.471,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.11395,
    "h": 127.2
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#4C6914
secondary
#5C39A0
accent
#3DEB78
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6914

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

Preview Lab → · Contrast checker → · Palette generator →

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