#4E7622#4E7622

#4E7622 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.121 H 131.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7622
RGBrgb(78, 118, 34)
HSLhsl(89, 55%, 30%)
HSVhsv(89, 71%, 46%)
CMYKcmyk(33.9%, 0%, 71.2%, 53.7%)
CIE-LABlab(45.21, -28.51, 40.02)
CIE-LCHlch(45.21, 49.14, 125.46°)
OKLaboklab(51.8% -0.0803 0.0909)
OKLCHoklch(51.8% 0.121 131.5)
XYZxyz(9.9089, 14.6917, 3.8268)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7622 #4A2276
analogous
#767422 #4E7622 #247622
triadic
#4E7622 #224E76 #76224E
tetradic
#4E7622 #227674 #4A2276 #762224
square
#4E7622 #227674 #4A2276 #762224
split-complementary
#4E7622 #222476 #742276
monochromatic
#101807 #2F4614 #4E7622 #6DA630 #8CCA48

Accessibility & contrast

On white

5.33
#4E7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7622
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7622#FFFFFF#000000##FFFFFF
##4E76221.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7622;
/* rgb */ color: rgb(78, 118, 34);
/* oklch */ color: oklch(51.8% 0.121 131.5);
Tailwind
colors: {
  custom: {
    50: '#839e62',
    500: '#4e7622',
    950: '#000000',
  },
}
SCSS
$custom: #4e7622;
$custom-light: #839e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7622",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 88.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.12131,
    "h": 131.5
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#4E7622
secondary
#784BA9
accent
#49DF90
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7622

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

Preview Lab → · Contrast checker → · Palette generator →

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