#4A7622#4A7622

#4A7622 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.124 H 133.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4A7622
RGBrgb(74, 118, 34)
HSLhsl(91, 55%, 30%)
HSVhsv(91, 71%, 46%)
CMYKcmyk(37.3%, 0%, 71.2%, 53.7%)
CIE-LABlab(44.98, -30.07, 39.71)
CIE-LCHlch(44.98, 49.81, 127.13°)
OKLaboklab(51.55% -0.0843 0.0903)
OKLCHoklch(51.55% 0.124 133)
XYZxyz(9.5911, 14.5278, 3.8119)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7622 #4E2276
analogous
#747622 #4A7622 #227624
triadic
#4A7622 #224A76 #76224A
tetradic
#4A7622 #227476 #4E2276 #762422
square
#4A7622 #227476 #4E2276 #762422
split-complementary
#4A7622 #242276 #762274
monochromatic
#0F1807 #2C4614 #4A7622 #68A630 #86CA48

Accessibility & contrast

On white

5.38
#4A7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4A7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7622
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7622#FFFFFF#000000##FFFFFF
##4A76221.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#4A7165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7622;
/* rgb */ color: rgb(74, 118, 34);
/* oklch */ color: oklch(51.6% 0.124 133.0);
Tailwind
colors: {
  custom: {
    50: '#809e62',
    500: '#4a7622',
    950: '#000000',
  },
}
SCSS
$custom: #4a7622;
$custom-light: #809e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7622",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 91.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.12355,
    "h": 133
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#4A7622
secondary
#7C4BA9
accent
#49DF97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #4A7622

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

Preview Lab → · Contrast checker → · Palette generator →

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