#4E7239#4E7239

#4E7239 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.094 H 135.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E7239
RGBrgb(78, 114, 57)
HSLhsl(98, 33%, 34%)
HSVhsv(98, 50%, 45%)
CMYKcmyk(31.6%, 0%, 50%, 55.3%)
CIE-LABlab(44.16, -24.08, 27.44)
CIE-LCHlch(44.16, 36.51, 131.26°)
OKLaboklab(51.03% -0.0663 0.0662)
OKLCHoklch(51.03% 0.094 135)
XYZxyz(9.8975, 13.9494, 6.0411)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7239 #5D3972
analogous
#6A7239 #4E7239 #397240
triadic
#4E7239 #394E72 #72394E
tetradic
#4E7239 #396A72 #5D3972 #724039
square
#4E7239 #396A72 #5D3972 #724039
split-complementary
#4E7239 #403972 #72396A
monochromatic
#162010 #324925 #4E7239 #6A9B4D #89B76F

Accessibility & contrast

On white

5.54
#4E7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7239
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7239#FFFFFF#000000##FFFFFF
##4E72391.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A34
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#4E6E65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7239;
/* rgb */ color: rgb(78, 114, 57);
/* oklch */ color: oklch(51.0% 0.094 135.0);
Tailwind
colors: {
  custom: {
    50: '#819a70',
    500: '#4e7239',
    950: '#000000',
  },
}
SCSS
$custom: #4e7239;
$custom-light: #819a70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7239",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 97.895,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.09371,
    "h": 135
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#4E7239
secondary
#8B67A0
accent
#5EC9A2
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7239

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

Preview Lab → · Contrast checker → · Palette generator →

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