#4E7031#4E7031

#4E7031 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.099 H 132.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E7031
RGBrgb(78, 112, 49)
HSLhsl(92, 39%, 32%)
HSVhsv(92, 56%, 44%)
CMYKcmyk(30.4%, 0%, 56.3%, 56.1%)
CIE-LABlab(43.40, -24.09, 30.81)
CIE-LCHlch(43.40, 39.11, 128.02°)
OKLaboklab(50.38% -0.0669 0.0731)
OKLCHoklch(50.38% 0.099 132.5)
XYZxyz(9.4903, 13.4295, 4.9973)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7031 #533170
analogous
#6E7031 #4E7031 #317034
triadic
#4E7031 #314E70 #70314E
tetradic
#4E7031 #316E70 #533170 #703431
square
#4E7031 #316E70 #533170 #703431
split-complementary
#4E7031 #343170 #70316E
monochromatic
#131B0C #30451E #4E7031 #6C9B44 #8ABA61

Accessibility & contrast

On white

5.70
#4E7031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E7031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7031
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7031#FFFFFF#000000##FFFFFF
##4E70311.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6F6635
Tritanopia (blue-blind)
#4F6C62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7031;
/* rgb */ color: rgb(78, 112, 49);
/* oklch */ color: oklch(50.4% 0.099 132.5);
Tailwind
colors: {
  custom: {
    50: '#82996b',
    500: '#4e7031',
    950: '#000000',
  },
}
SCSS
$custom: #4e7031;
$custom-light: #82996b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7031",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 49
  },
  "hsl": {
    "h": 92.381,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.09906,
    "h": 132.5
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#4E7031
secondary
#815CA1
accent
#59CF99
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7031

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

Preview Lab → · Contrast checker → · Palette generator →

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