#4E7322#4E7322

#4E7322 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.117 H 130.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E7322
RGBrgb(78, 115, 34)
HSLhsl(87, 54%, 29%)
HSVhsv(87, 70%, 45%)
CMYKcmyk(32.2%, 0%, 70.4%, 54.9%)
CIE-LABlab(44.23, -27.06, 39.00)
CIE-LCHlch(44.23, 47.47, 124.76°)
OKLaboklab(51% -0.0764 0.0887)
OKLCHoklch(51% 0.117 130.7)
XYZxyz(9.5613, 13.9964, 3.7109)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7322 #472273
analogous
#737022 #4E7322 #267322
triadic
#4E7322 #224E73 #73224E
tetradic
#4E7322 #227370 #472273 #732226
square
#4E7322 #227370 #472273 #732226
split-complementary
#4E7322 #222673 #702273
monochromatic
#101807 #2E4414 #4E7322 #6EA230 #8DC947

Accessibility & contrast

On white

5.53
#4E7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4E7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7322
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7322#FFFFFF#000000##FFFFFF
##4E73221.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#506E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7322;
/* rgb */ color: rgb(78, 115, 34);
/* oklch */ color: oklch(51.0% 0.117 130.7);
Tailwind
colors: {
  custom: {
    50: '#839b62',
    500: '#4e7322',
    950: '#000000',
  },
}
SCSS
$custom: #4e7322;
$custom-light: #839b62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7322",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 87.407,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.1171,
    "h": 130.7
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#4E7322
secondary
#744BA6
accent
#4ADE8E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7322

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

Preview Lab → · Contrast checker → · Palette generator →

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