#4C6714#4C6714

#4C6714 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.111 H 126.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4C6714
RGBrgb(76, 103, 20)
HSLhsl(80, 67%, 24%)
HSVhsv(80, 81%, 40%)
CMYKcmyk(26.2%, 0%, 80.6%, 59.6%)
CIE-LABlab(40.06, -22.91, 40.42)
CIE-LCHlch(40.06, 46.46, 119.55°)
OKLaboklab(47.55% -0.0662 0.0894)
OKLCHoklch(47.55% 0.111 126.5)
XYZxyz(7.9570, 11.2874, 2.4211)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6714 #2F1467
analogous
#675914 #4C6714 #236714
triadic
#4C6714 #144C67 #67144C
tetradic
#4C6714 #146759 #2F1467 #671423
square
#4C6714 #146759 #2F1467 #671423
split-complementary
#4C6714 #142367 #591467
monochromatic
#131A05 #26340A #4C6714 #729A1E #98CD28

Accessibility & contrast

On white

6.45
#4C6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6714
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6714#FFFFFF#000000##FFFFFF
##4C67141.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F02
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#4F6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c6714;
/* rgb */ color: rgb(76, 103, 20);
/* oklch */ color: oklch(47.6% 0.111 126.5);
Tailwind
colors: {
  custom: {
    50: '#819259',
    500: '#4c6714',
    950: '#000000',
  },
}
SCSS
$custom: #4c6714;
$custom-light: #819259;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6714",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 79.518,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.11126,
    "h": 126.5
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#4C6714
secondary
#5A399E
accent
#3DEA76
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6714

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

Preview Lab → · Contrast checker → · Palette generator →

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