#4C7622#4C7622

#4C7622 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.122 H 132.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4C7622
RGBrgb(76, 118, 34)
HSLhsl(90, 55%, 30%)
HSVhsv(90, 71%, 46%)
CMYKcmyk(35.6%, 0%, 71.2%, 53.7%)
CIE-LABlab(45.09, -29.29, 39.86)
CIE-LCHlch(45.09, 49.47, 126.31°)
OKLaboklab(51.68% -0.0824 0.0906)
OKLCHoklch(51.68% 0.122 132.3)
XYZxyz(9.7475, 14.6085, 3.8192)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7622 #4C2276
analogous
#767622 #4C7622 #227622
triadic
#4C7622 #224C76 #76224C
tetradic
#4C7622 #227676 #4C2276 #762222
square
#4C7622 #227676 #4C2276 #762222
split-complementary
#4C7622 #222276 #762276
monochromatic
#0F1807 #2D4614 #4C7622 #6BA630 #89CA48

Accessibility & contrast

On white

5.35
#4C7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4C7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7622
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7622#FFFFFF#000000##FFFFFF
##4C76221.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#4D7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c7622;
/* rgb */ color: rgb(76, 118, 34);
/* oklch */ color: oklch(51.7% 0.122 132.3);
Tailwind
colors: {
  custom: {
    50: '#829e62',
    500: '#4c7622',
    950: '#000000',
  },
}
SCSS
$custom: #4c7622;
$custom-light: #829e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7622",
  "rgb": {
    "r": 76,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51677,
    "c": 0.12243,
    "h": 132.3
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#4C7622
secondary
#7A4BA9
accent
#49DF94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4C7622

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

Preview Lab → · Contrast checker → · Palette generator →

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