#4E7327#4E7327

#4E7327 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.113 H 131.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E7327
RGBrgb(78, 115, 39)
HSLhsl(89, 49%, 30%)
HSVhsv(89, 66%, 45%)
CMYKcmyk(32.2%, 0%, 66.1%, 54.9%)
CIE-LABlab(44.27, -26.63, 36.78)
CIE-LCHlch(44.27, 45.41, 125.90°)
OKLaboklab(51.05% -0.0748 0.0848)
OKLCHoklch(51.05% 0.113 131.4)
XYZxyz(9.6387, 14.0273, 4.1188)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7327 #4C2773
analogous
#737227 #4E7327 #287327
triadic
#4E7327 #274E73 #73274E
tetradic
#4E7327 #277372 #4C2773 #732728
square
#4E7327 #277372 #4C2773 #732728
split-complementary
#4E7327 #272873 #722773
monochromatic
#101808 #2F4518 #4E7327 #6DA136 #8CC451

Accessibility & contrast

On white

5.52
#4E7327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E7327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7327
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7327#FFFFFF#000000##FFFFFF
##4E73271.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#4F6E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7327;
/* rgb */ color: rgb(78, 115, 39);
/* oklch */ color: oklch(51.1% 0.113 131.4);
Tailwind
colors: {
  custom: {
    50: '#829b65',
    500: '#4e7327',
    950: '#000000',
  },
}
SCSS
$custom: #4e7327;
$custom-light: #829b65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7327",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 89.211,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.11302,
    "h": 131.4
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#4E7327
secondary
#7A50A5
accent
#4FD992
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7327

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

Preview Lab → · Contrast checker → · Palette generator →

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