#4E7722#4E7722

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

Color values

HEX#4E7722
RGBrgb(78, 119, 34)
HSLhsl(89, 56%, 30%)
HSVhsv(89, 71%, 47%)
CMYKcmyk(34.5%, 0%, 71.4%, 53.3%)
CIE-LABlab(45.54, -28.98, 40.36)
CIE-LCHlch(45.54, 49.69, 125.68°)
OKLaboklab(52.07% -0.0816 0.0916)
OKLCHoklch(52.07% 0.123 131.7)
XYZxyz(10.0273, 14.9285, 3.8662)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7722 #4B2277
analogous
#777622 #4E7722 #237722
triadic
#4E7722 #224E77 #77224E
tetradic
#4E7722 #227776 #4B2277 #772223
square
#4E7722 #227776 #4B2277 #772223
split-complementary
#4E7722 #222377 #762277
monochromatic
#101807 #2F4714 #4E7722 #6DA730 #8CCB49

Accessibility & contrast

On white

5.27
#4E7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7722
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7722#FFFFFF#000000##FFFFFF
##4E77221.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7722;
/* rgb */ color: rgb(78, 119, 34);
/* oklch */ color: oklch(52.1% 0.123 131.7);
Tailwind
colors: {
  custom: {
    50: '#839e62',
    500: '#4e7722',
    950: '#000000',
  },
}
SCSS
$custom: #4e7722;
$custom-light: #839e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7722",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 88.941,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.1227,
    "h": 131.7
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#4E7722
secondary
#794BAA
accent
#49DF91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7722

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

Preview Lab → · Contrast checker → · Palette generator →

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