#4E7C31#4E7C31

#4E7C31 is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.117 H 135.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E7C31
RGBrgb(78, 124, 49)
HSLhsl(97, 43%, 34%)
HSVhsv(97, 60%, 49%)
CMYKcmyk(37.1%, 0%, 60.5%, 51.4%)
CIE-LABlab(47.31, -29.93, 35.36)
CIE-LCHlch(47.31, 46.33, 130.25°)
OKLaboklab(53.56% -0.083 0.0829)
OKLCHoklch(53.56% 0.117 135)
XYZxyz(10.9037, 16.2563, 5.4684)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C31 #5F317C
analogous
#747C31 #4E7C31 #317C3A
triadic
#4E7C31 #314E7C #7C314E
tetradic
#4E7C31 #31747C #5F317C #7C3A31
square
#4E7C31 #31747C #5F317C #7C3A31
split-complementary
#4E7C31 #3A317C #7C3174
monochromatic
#17240E #325020 #4E7C31 #6AA842 #89C265

Accessibility & contrast

On white

4.94
#4E7C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4E7C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C31#FFFFFF#000000##FFFFFF
##4E7C311.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807329
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#4D786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c31;
/* rgb */ color: rgb(78, 124, 49);
/* oklch */ color: oklch(53.6% 0.117 135.0);
Tailwind
colors: {
  custom: {
    50: '#83a26c',
    500: '#4e7c31',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c31;
$custom-light: #83a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c31",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 96.8,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53559,
    "c": 0.1173,
    "h": 135
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#4E7C31
secondary
#8D5FAA
accent
#55D3A2
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7C31

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

Preview Lab → · Contrast checker → · Palette generator →

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