#4C6522#4C6522

#4C6522 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.1% C 0.098 H 127.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4C6522
RGBrgb(76, 101, 34)
HSLhsl(82, 50%, 26%)
HSVhsv(82, 66%, 40%)
CMYKcmyk(24.8%, 0%, 66.3%, 60.4%)
CIE-LABlab(39.51, -20.86, 33.92)
CIE-LCHlch(39.51, 39.82, 121.59°)
OKLaboklab(47.14% -0.0592 0.0781)
OKLCHoklch(47.14% 0.098 127.2)
XYZxyz(7.9229, 10.9592, 3.2110)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6522 #3B2265
analogous
#655D22 #4C6522 #2B6522
triadic
#4C6522 #224C65 #65224C
tetradic
#4C6522 #22655D #3B2265 #65222B
square
#4C6522 #22655D #3B2265 #65222B
split-complementary
#4C6522 #222B65 #5D2265
monochromatic
#111708 #2A3713 #4C6522 #6E9331 #91BF42

Accessibility & contrast

On white

6.58
#4C6522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4C6522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6522
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6522#FFFFFF#000000##FFFFFF
##4C65221.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#4F6057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c6522;
/* rgb */ color: rgb(76, 101, 34);
/* oklch */ color: oklch(47.1% 0.098 127.2);
Tailwind
colors: {
  custom: {
    50: '#809160',
    500: '#4c6522',
    950: '#000000',
  },
}
SCSS
$custom: #4c6522;
$custom-light: #809160;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6522",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 82.388,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.09799,
    "h": 127.2
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#4C6522
secondary
#674A99
accent
#4FD982
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4C6522

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

Preview Lab → · Contrast checker → · Palette generator →

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