#4E7829#4E7829

#4E7829 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.119 H 132.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E7829
RGBrgb(78, 120, 41)
HSLhsl(92, 49%, 32%)
HSVhsv(92, 66%, 47%)
CMYKcmyk(35%, 0%, 65.8%, 52.9%)
CIE-LABlab(45.92, -28.85, 37.65)
CIE-LCHlch(45.92, 47.44, 127.46°)
OKLaboklab(52.4% -0.0807 0.0869)
OKLCHoklch(52.4% 0.119 132.9)
XYZxyz(10.2584, 15.2123, 4.4932)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7829 #532978
analogous
#767829 #4E7829 #29782C
triadic
#4E7829 #294E78 #78294E
tetradic
#4E7829 #297678 #532978 #782C29
square
#4E7829 #297678 #532978 #782C29
split-complementary
#4E7829 #2C2978 #782976
monochromatic
#131D0A #304A19 #4E7829 #6CA639 #8AC556

Accessibility & contrast

On white

5.19
#4E7829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E7829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7829
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7829#FFFFFF#000000##FFFFFF
##4E78291.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#776C2F
Tritanopia (blue-blind)
#4F7367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7829;
/* rgb */ color: rgb(78, 120, 41);
/* oklch */ color: oklch(52.4% 0.119 132.9);
Tailwind
colors: {
  custom: {
    50: '#839f66',
    500: '#4e7829',
    950: '#000000',
  },
}
SCSS
$custom: #4e7829;
$custom-light: #839f66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7829",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 41
  },
  "hsl": {
    "h": 91.899,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.11855,
    "h": 132.9
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#4E7829
secondary
#8153AA
accent
#4FD998
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7829

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

Preview Lab → · Contrast checker → · Palette generator →

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