#4E842C#4E842C

#4E842C is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.133 H 135.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E842C
RGBrgb(78, 132, 44)
HSLhsl(97, 50%, 35%)
HSVhsv(97, 67%, 52%)
CMYKcmyk(40.9%, 0%, 66.7%, 48.2%)
CIE-LABlab(49.86, -34.12, 40.57)
CIE-LCHlch(49.86, 53.01, 130.07°)
OKLaboklab(55.63% -0.0948 0.0934)
OKLCHoklch(55.63% 0.133 135.4)
XYZxyz(11.8475, 18.3035, 5.2911)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E842C #622C84
analogous
#7A842C #4E842C #2C8436
triadic
#4E842C #2C4E84 #842C4E
tetradic
#4E842C #2C7A84 #622C84 #84362C
square
#4E842C #2C7A84 #622C84 #84362C
split-complementary
#4E842C #362C84 #842C7A
monochromatic
#18280D #33561D #4E842C #69B23B #89CA60

Accessibility & contrast

On white

4.51
#4E842C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4E842C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E842C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E842C#FFFFFF#000000##000000
##4E842C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897921
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#4D7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e842c;
/* rgb */ color: rgb(78, 132, 44);
/* oklch */ color: oklch(55.6% 0.133 135.4);
Tailwind
colors: {
  custom: {
    50: '#84a869',
    500: '#4e842c',
    950: '#000000',
  },
}
SCSS
$custom: #4e842c;
$custom-light: #84a869;
$custom-dark: #000000;
JSON
{
  "hex": "#4e842c",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 96.818,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.13311,
    "h": 135.4
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#4E842C
secondary
#905CB0
accent
#4EDAA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E842C

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

Preview Lab → · Contrast checker → · Palette generator →

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