#4C6713#4C6713

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

Color values

HEX#4C6713
RGBrgb(76, 103, 19)
HSLhsl(79, 69%, 24%)
HSVhsv(79, 82%, 40%)
CMYKcmyk(26.2%, 0%, 81.6%, 59.6%)
CIE-LABlab(40.05, -22.96, 40.76)
CIE-LCHlch(40.05, 46.79, 119.40°)
OKLaboklab(47.55% -0.0664 0.09)
OKLCHoklch(47.55% 0.112 126.4)
XYZxyz(7.9483, 11.2839, 2.3752)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6713 #2E1367
analogous
#675813 #4C6713 #226713
triadic
#4C6713 #134C67 #67134C
tetradic
#4C6713 #136758 #2E1367 #671322
square
#4C6713 #136758 #2E1367 #671322
split-complementary
#4C6713 #132267 #581367
monochromatic
#131A05 #263309 #4C6713 #729B1D #98CE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6713#FFFFFF#000000##FFFFFF
##4C67131.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)
#6D5F00
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#4F6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c6713;
/* rgb */ color: rgb(76, 103, 19);
/* oklch */ color: oklch(47.5% 0.112 126.4);
Tailwind
colors: {
  custom: {
    50: '#819259',
    500: '#4c6713',
    950: '#000000',
  },
}
SCSS
$custom: #4c6713;
$custom-light: #819259;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6713",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 79.286,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.11184,
    "h": 126.4
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#4C6713
secondary
#59379E
accent
#3CEC75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6713

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

Preview Lab → · Contrast checker → · Palette generator →

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