#4E7631#4E7631

#4E7631 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.0% C 0.108 H 133.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E7631
RGBrgb(78, 118, 49)
HSLhsl(95, 41%, 33%)
HSVhsv(95, 58%, 46%)
CMYKcmyk(33.9%, 0%, 58.5%, 53.7%)
CIE-LABlab(45.36, -27.06, 33.11)
CIE-LCHlch(45.36, 42.76, 129.26°)
OKLaboklab(51.97% -0.0751 0.078)
OKLCHoklch(51.97% 0.108 133.9)
XYZxyz(10.1745, 14.7979, 5.2253)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7631 #593176
analogous
#707631 #4E7631 #317637
triadic
#4E7631 #314E76 #76314E
tetradic
#4E7631 #317076 #593176 #763731
square
#4E7631 #317076 #593176 #763731
split-complementary
#4E7631 #373176 #763170
monochromatic
#15200D #314B1F #4E7631 #6BA143 #89BE63

Accessibility & contrast

On white

5.30
#4E7631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4E7631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7631
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7631#FFFFFF#000000##FFFFFF
##4E76311.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2A
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#4E7267
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7631;
/* rgb */ color: rgb(78, 118, 49);
/* oklch */ color: oklch(52.0% 0.108 133.9);
Tailwind
colors: {
  custom: {
    50: '#829e6b',
    500: '#4e7631',
    950: '#000000',
  },
}
SCSS
$custom: #4e7631;
$custom-light: #829e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7631",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 49
  },
  "hsl": {
    "h": 94.783,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.10829,
    "h": 133.9
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#4E7631
secondary
#875DA6
accent
#57D19E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7631

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

Preview Lab → · Contrast checker → · Palette generator →

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