#4E7531#4E7531

#4E7531 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.107 H 133.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4E7531
RGBrgb(78, 117, 49)
HSLhsl(94, 41%, 33%)
HSVhsv(94, 58%, 46%)
CMYKcmyk(33.3%, 0%, 58.1%, 54.1%)
CIE-LABlab(45.03, -26.57, 32.73)
CIE-LCHlch(45.03, 42.15, 129.07°)
OKLaboklab(51.71% -0.0737 0.0772)
OKLCHoklch(51.71% 0.107 133.7)
XYZxyz(10.0574, 14.5637, 5.1863)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7531 #583175
analogous
#707531 #4E7531 #317536
triadic
#4E7531 #314E75 #75314E
tetradic
#4E7531 #317075 #583175 #753631
square
#4E7531 #317075 #583175 #753631
split-complementary
#4E7531 #363175 #753170
monochromatic
#141F0D #314A1F #4E7531 #6BA043 #8ABE63

Accessibility & contrast

On white

5.37
#4E7531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4E7531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7531
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7531#FFFFFF#000000##FFFFFF
##4E75311.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#746936
Tritanopia (blue-blind)
#4E7166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7531;
/* rgb */ color: rgb(78, 117, 49);
/* oklch */ color: oklch(51.7% 0.107 133.7);
Tailwind
colors: {
  custom: {
    50: '#829d6b',
    500: '#4e7531',
    950: '#000000',
  },
}
SCSS
$custom: #4e7531;
$custom-light: #829d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7531",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 94.412,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.10677,
    "h": 133.7
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#4E7531
secondary
#865DA5
accent
#57D19D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7531

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

Preview Lab → · Contrast checker → · Palette generator →

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