#4D7722#4D7722

#4D7722 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.123 H 132.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D7722
RGBrgb(77, 119, 34)
HSLhsl(90, 56%, 30%)
HSVhsv(90, 71%, 47%)
CMYKcmyk(35.3%, 0%, 71.4%, 53.3%)
CIE-LABlab(45.48, -29.38, 40.28)
CIE-LCHlch(45.48, 49.86, 126.10°)
OKLaboklab(52.01% -0.0826 0.0914)
OKLCHoklch(52.01% 0.123 132.1)
XYZxyz(9.9460, 14.8865, 3.8624)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7722 #4C2277
analogous
#777722 #4D7722 #227722
triadic
#4D7722 #224D77 #77224D
tetradic
#4D7722 #227777 #4C2277 #772222
square
#4D7722 #227777 #4C2277 #772222
split-complementary
#4D7722 #222277 #772277
monochromatic
#0F1807 #2E4714 #4D7722 #6CA730 #8ACB49

Accessibility & contrast

On white

5.28
#4D7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4D7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7722
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7722#FFFFFF#000000##FFFFFF
##4D77221.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#4E7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d7722;
/* rgb */ color: rgb(77, 119, 34);
/* oklch */ color: oklch(52.0% 0.123 132.1);
Tailwind
colors: {
  custom: {
    50: '#829e62',
    500: '#4d7722',
    950: '#000000',
  },
}
SCSS
$custom: #4d7722;
$custom-light: #829e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7722",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 89.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.12326,
    "h": 132.1
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#4D7722
secondary
#7A4BAA
accent
#49DF93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7722

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

Preview Lab → · Contrast checker → · Palette generator →

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