#4E7830#4E7830

#4E7830 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.112 H 134.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E7830
RGBrgb(78, 120, 48)
HSLhsl(95, 43%, 33%)
HSVhsv(95, 60%, 47%)
CMYKcmyk(35%, 0%, 60%, 52.9%)
CIE-LABlab(46.00, -28.14, 34.35)
CIE-LCHlch(46.00, 44.40, 129.32°)
OKLaboklab(52.49% -0.0781 0.0806)
OKLCHoklch(52.49% 0.112 134.1)
XYZxyz(10.3917, 15.2656, 5.1948)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7830 #5A3078
analogous
#727830 #4E7830 #307836
triadic
#4E7830 #304E78 #78304E
tetradic
#4E7830 #307278 #5A3078 #783630
square
#4E7830 #307278 #5A3078 #783630
split-complementary
#4E7830 #363078 #783072
monochromatic
#15210D #324C1F #4E7830 #6AA441 #89C062

Accessibility & contrast

On white

5.18
#4E7830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4E7830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7830
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7830#FFFFFF#000000##FFFFFF
##4E78301.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F29
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#4E7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7830;
/* rgb */ color: rgb(78, 120, 48);
/* oklch */ color: oklch(52.5% 0.112 134.1);
Tailwind
colors: {
  custom: {
    50: '#829f6b',
    500: '#4e7830',
    950: '#000000',
  },
}
SCSS
$custom: #4e7830;
$custom-light: #829f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7830",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 95,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.11227,
    "h": 134.1
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#4E7830
secondary
#885CA7
accent
#55D39E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7830

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

Preview Lab → · Contrast checker → · Palette generator →

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