#4E7234#4E7234

#4E7234 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.099 H 133.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E7234
RGBrgb(78, 114, 52)
HSLhsl(95, 37%, 33%)
HSVhsv(95, 54%, 45%)
CMYKcmyk(31.6%, 0%, 54.4%, 55.3%)
CIE-LABlab(44.09, -24.73, 30.05)
CIE-LCHlch(44.09, 38.92, 129.45°)
OKLaboklab(50.96% -0.0684 0.0716)
OKLCHoklch(50.96% 0.099 133.7)
XYZxyz(9.7788, 13.9019, 5.4163)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7234 #583472
analogous
#6D7234 #4E7234 #347239
triadic
#4E7234 #344E72 #72344E
tetradic
#4E7234 #346D72 #583472 #723934
square
#4E7234 #346D72 #583472 #723934
split-complementary
#4E7234 #393472 #72346D
monochromatic
#141E0E #314821 #4E7234 #6B9C47 #8ABA67

Accessibility & contrast

On white

5.55
#4E7234 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E7234 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7234
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7234#FFFFFF#000000##FFFFFF
##4E72341.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2E
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#4E6E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7234;
/* rgb */ color: rgb(78, 114, 52);
/* oklch */ color: oklch(51.0% 0.099 133.7);
Tailwind
colors: {
  custom: {
    50: '#829b6d',
    500: '#4e7234',
    950: '#000000',
  },
}
SCSS
$custom: #4e7234;
$custom-light: #829b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7234",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 52
  },
  "hsl": {
    "h": 94.839,
    "s": 37.349,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.09908,
    "h": 133.7
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#4E7234
secondary
#8660A2
accent
#5ACD9D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7234

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

Preview Lab → · Contrast checker → · Palette generator →

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