#4E7838#4E7838

#4E7838 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.6% C 0.104 H 135.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E7838
RGBrgb(78, 120, 56)
HSLhsl(99, 36%, 35%)
HSVhsv(99, 53%, 47%)
CMYKcmyk(35%, 0%, 53.3%, 52.9%)
CIE-LABlab(46.09, -27.18, 30.35)
CIE-LCHlch(46.09, 40.74, 131.85°)
OKLaboklab(52.6% -0.0749 0.0726)
OKLCHoklch(52.6% 0.104 135.9)
XYZxyz(10.5719, 15.3377, 6.1441)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7838 #623878
analogous
#6E7838 #4E7838 #387842
triadic
#4E7838 #384E78 #78384E
tetradic
#4E7838 #386E78 #623878 #784238
square
#4E7838 #386E78 #623878 #784238
split-complementary
#4E7838 #423878 #78386E
monochromatic
#182511 #334E25 #4E7838 #69A24B #89BC6F

Accessibility & contrast

On white

5.16
#4E7838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4E7838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7838
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7838#FFFFFF#000000##FFFFFF
##4E78381.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F32
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#4D7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7838;
/* rgb */ color: rgb(78, 120, 56);
/* oklch */ color: oklch(52.6% 0.104 135.9);
Tailwind
colors: {
  custom: {
    50: '#829f70',
    500: '#4e7838',
    950: '#000000',
  },
}
SCSS
$custom: #4e7838;
$custom-light: #829f70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7838",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 99.375,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.10433,
    "h": 135.9
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#4E7838
secondary
#9067A5
accent
#5BCCA6
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7838

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

Preview Lab → · Contrast checker → · Palette generator →

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