#4C6811#4C6811

#4C6811 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.114 H 126.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4C6811
RGBrgb(76, 104, 17)
HSLhsl(79, 72%, 24%)
HSVhsv(79, 84%, 41%)
CMYKcmyk(26.9%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.37, -23.57, 41.73)
CIE-LCHlch(40.37, 47.93, 119.46°)
OKLaboklab(47.8% -0.0682 0.0917)
OKLCHoklch(47.8% 0.114 126.6)
XYZxyz(8.0320, 11.4775, 2.3224)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6811 #2D1168
analogous
#685811 #4C6811 #206811
triadic
#4C6811 #114C68 #68114C
tetradic
#4C6811 #116858 #2D1168 #681120
square
#4C6811 #116858 #2D1168 #681120
split-complementary
#4C6811 #112068 #581168
monochromatic
#131A04 #263308 #4C6811 #729D1A #99D122

Accessibility & contrast

On white

6.37
#4C6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6811
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6811#FFFFFF#000000##FFFFFF
##4C68111.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#4F6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c6811;
/* rgb */ color: rgb(76, 104, 17);
/* oklch */ color: oklch(47.8% 0.114 126.6);
Tailwind
colors: {
  custom: {
    50: '#819358',
    500: '#4c6811',
    950: '#000000',
  },
}
SCSS
$custom: #4c6811;
$custom-light: #819358;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6811",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 79.31,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.11427,
    "h": 126.6
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#4C6811
secondary
#5735A0
accent
#39EF74
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6811

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

Preview Lab → · Contrast checker → · Palette generator →

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