#4E7538#4E7538

#4E7538 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.8% C 0.100 H 135.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E7538
RGBrgb(78, 117, 56)
HSLhsl(98, 35%, 34%)
HSVhsv(98, 52%, 46%)
CMYKcmyk(33.3%, 0%, 52.1%, 54.1%)
CIE-LABlab(45.12, -25.71, 29.16)
CIE-LCHlch(45.12, 38.88, 131.40°)
OKLaboklab(51.81% -0.0709 0.07)
OKLCHoklch(51.81% 0.1 135.4)
XYZxyz(10.2167, 14.6274, 6.0257)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7538 #5F3875
analogous
#6D7538 #4E7538 #387541
triadic
#4E7538 #384E75 #75384E
tetradic
#4E7538 #386D75 #5F3875 #754138
square
#4E7538 #386D75 #5F3875 #754138
split-complementary
#4E7538 #413875 #75386D
monochromatic
#172210 #324C24 #4E7538 #6A9E4C #89BA6E

Accessibility & contrast

On white

5.35
#4E7538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4E7538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7538
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7538#FFFFFF#000000##FFFFFF
##4E75381.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D33
Deuteranopia (green-blind)
#736A3C
Tritanopia (blue-blind)
#4D7167
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7538;
/* rgb */ color: rgb(78, 117, 56);
/* oklch */ color: oklch(51.8% 0.100 135.4);
Tailwind
colors: {
  custom: {
    50: '#829d70',
    500: '#4e7538',
    950: '#000000',
  },
}
SCSS
$custom: #4e7538;
$custom-light: #829d70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7538",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 98.361,
    "s": 35.26,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.0996,
    "h": 135.4
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#4E7538
secondary
#8D66A3
accent
#5CCBA3
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7538

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

Preview Lab → · Contrast checker → · Palette generator →

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