#4D7622#4D7622

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

Color values

HEX#4D7622
RGBrgb(77, 118, 34)
HSLhsl(89, 55%, 30%)
HSVhsv(89, 71%, 46%)
CMYKcmyk(34.7%, 0%, 71.2%, 53.7%)
CIE-LABlab(45.15, -28.90, 39.94)
CIE-LCHlch(45.15, 49.30, 125.89°)
OKLaboklab(51.74% -0.0814 0.0907)
OKLCHoklch(51.74% 0.122 131.9)
XYZxyz(9.8276, 14.6498, 3.8230)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7622 #4B2276
analogous
#767522 #4D7622 #237622
triadic
#4D7622 #224D76 #76224D
tetradic
#4D7622 #227675 #4B2276 #762223
square
#4D7622 #227675 #4B2276 #762223
split-complementary
#4D7622 #222376 #752276
monochromatic
#101807 #2E4614 #4D7622 #6CA630 #8BCA48

Accessibility & contrast

On white

5.34
#4D7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7622
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7622#FFFFFF#000000##FFFFFF
##4D76221.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7622;
/* rgb */ color: rgb(77, 118, 34);
/* oklch */ color: oklch(51.7% 0.122 131.9);
Tailwind
colors: {
  custom: {
    50: '#829e62',
    500: '#4d7622',
    950: '#000000',
  },
}
SCSS
$custom: #4d7622;
$custom-light: #829e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7622",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 89.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.12187,
    "h": 131.9
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#4D7622
secondary
#794BA9
accent
#49DF92
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7622

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

Preview Lab → · Contrast checker → · Palette generator →

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