#4E7831#4E7831

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

Color values

HEX#4E7831
RGBrgb(78, 120, 49)
HSLhsl(95, 42%, 33%)
HSVhsv(95, 59%, 47%)
CMYKcmyk(35%, 0%, 59.2%, 52.9%)
CIE-LABlab(46.01, -28.03, 33.86)
CIE-LCHlch(46.01, 43.96, 129.61°)
OKLaboklab(52.5% -0.0778 0.0797)
OKLCHoklch(52.5% 0.111 134.3)
XYZxyz(10.4125, 15.2740, 5.3047)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7831 #5B3178
analogous
#717831 #4E7831 #317837
triadic
#4E7831 #314E78 #78314E
tetradic
#4E7831 #317178 #5B3178 #783731
square
#4E7831 #317178 #5B3178 #783731
split-complementary
#4E7831 #373178 #783171
monochromatic
#16210E #324D1F #4E7831 #6AA343 #89C064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7831#FFFFFF#000000##FFFFFF
##4E78311.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)
#7C6F2A
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#4E7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7831;
/* rgb */ color: rgb(78, 120, 49);
/* oklch */ color: oklch(52.5% 0.111 134.3);
Tailwind
colors: {
  custom: {
    50: '#829f6c',
    500: '#4e7831',
    950: '#000000',
  },
}
SCSS
$custom: #4e7831;
$custom-light: #829f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7831",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 95.493,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.11132,
    "h": 134.3
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#4E7831
secondary
#895EA7
accent
#56D29F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7831

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

Preview Lab → · Contrast checker → · Palette generator →

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