#4E7539#4E7539

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

Color values

HEX#4E7539
RGBrgb(78, 117, 57)
HSLhsl(99, 34%, 34%)
HSVhsv(99, 51%, 46%)
CMYKcmyk(33.3%, 0%, 51.3%, 54.1%)
CIE-LABlab(45.13, -25.58, 28.64)
CIE-LCHlch(45.13, 38.40, 131.77°)
OKLaboklab(51.82% -0.0704 0.0689)
OKLCHoklch(51.82% 0.099 135.6)
XYZxyz(10.2414, 14.6373, 6.1558)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7539 #603975
analogous
#6C7539 #4E7539 #397542
triadic
#4E7539 #394E75 #75394E
tetradic
#4E7539 #396C75 #603975 #754239
square
#4E7539 #396C75 #603975 #754239
split-complementary
#4E7539 #423975 #75396C
monochromatic
#172311 #334C25 #4E7539 #699E4D #89B96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7539#FFFFFF#000000##FFFFFF
##4E75391.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)
#796D34
Deuteranopia (green-blind)
#736A3D
Tritanopia (blue-blind)
#4D7167
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7539;
/* rgb */ color: rgb(78, 117, 57);
/* oklch */ color: oklch(51.8% 0.099 135.6);
Tailwind
colors: {
  custom: {
    50: '#829d71',
    500: '#4e7539',
    950: '#000000',
  },
}
SCSS
$custom: #4e7539;
$custom-light: #829d71;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7539",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 57
  },
  "hsl": {
    "h": 99,
    "s": 34.483,
    "l": 34.118
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.09853,
    "h": 135.6
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#4E7539
secondary
#8E67A2
accent
#5DCBA4
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7539

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

Preview Lab → · Contrast checker → · Palette generator →

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