#4C6722#4C6722

#4C6722 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.101 H 128.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4C6722
RGBrgb(76, 103, 34)
HSLhsl(83, 50%, 27%)
HSVhsv(83, 67%, 40%)
CMYKcmyk(26.2%, 0%, 67%, 59.6%)
CIE-LABlab(40.17, -21.89, 34.63)
CIE-LCHlch(40.17, 40.97, 122.30°)
OKLaboklab(47.67% -0.0621 0.0796)
OKLCHoklch(47.67% 0.101 128)
XYZxyz(8.1195, 11.3523, 3.2765)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6722 #3D2267
analogous
#676022 #4C6722 #2A6722
triadic
#4C6722 #224C67 #67224C
tetradic
#4C6722 #226760 #3D2267 #67222A
square
#4C6722 #226760 #3D2267 #67222A
split-complementary
#4C6722 #222A67 #602267
monochromatic
#111708 #2A3913 #4C6722 #6E9531 #8FC143

Accessibility & contrast

On white

6.42
#4C6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4C6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6722
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6722#FFFFFF#000000##FFFFFF
##4C67221.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#4F6259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c6722;
/* rgb */ color: rgb(76, 103, 34);
/* oklch */ color: oklch(47.7% 0.101 128.0);
Tailwind
colors: {
  custom: {
    50: '#809261',
    500: '#4c6722',
    950: '#000000',
  },
}
SCSS
$custom: #4c6722;
$custom-light: #809261;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6722",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 83.478,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.10092,
    "h": 128
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#4C6722
secondary
#6A4A9B
accent
#4EDA85
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4C6722

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

Preview Lab → · Contrast checker → · Palette generator →

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