#4E7731#4E7731

#4E7731 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.110 H 134.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4E7731
RGBrgb(78, 119, 49)
HSLhsl(95, 42%, 33%)
HSVhsv(95, 59%, 47%)
CMYKcmyk(34.5%, 0%, 58.8%, 53.3%)
CIE-LABlab(45.68, -27.54, 33.49)
CIE-LCHlch(45.68, 43.36, 129.44°)
OKLaboklab(52.23% -0.0764 0.0789)
OKLCHoklch(52.23% 0.11 134.1)
XYZxyz(10.2929, 15.0347, 5.2648)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7731 #5A3177
analogous
#717731 #4E7731 #317737
triadic
#4E7731 #314E77 #77314E
tetradic
#4E7731 #317177 #5A3177 #773731
square
#4E7731 #317177 #5A3177 #773731
split-complementary
#4E7731 #373177 #773171
monochromatic
#15200D #324C1F #4E7731 #6AA243 #89BF63

Accessibility & contrast

On white

5.24
#4E7731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4E7731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7731
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7731#FFFFFF#000000##FFFFFF
##4E77311.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#4E7368
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7731;
/* rgb */ color: rgb(78, 119, 49);
/* oklch */ color: oklch(52.2% 0.110 134.1);
Tailwind
colors: {
  custom: {
    50: '#829e6b',
    500: '#4e7731',
    950: '#000000',
  },
}
SCSS
$custom: #4e7731;
$custom-light: #829e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7731",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 95.143,
    "s": 41.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.10981,
    "h": 134.1
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#4E7731
secondary
#885DA6
accent
#56D19E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7731

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

Preview Lab → · Contrast checker → · Palette generator →

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