#4E862B#4E862B

#4E862B is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.137 H 135.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E862B
RGBrgb(78, 134, 43)
HSLhsl(97, 51%, 35%)
HSVhsv(97, 68%, 53%)
CMYKcmyk(41.8%, 0%, 67.9%, 47.5%)
CIE-LABlab(50.50, -35.11, 41.71)
CIE-LCHlch(50.50, 54.52, 130.09°)
OKLaboklab(56.15% -0.0976 0.0957)
OKLCHoklch(56.15% 0.137 135.6)
XYZxyz(12.1027, 18.8437, 5.2845)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E862B #632B86
analogous
#7C862B #4E862B #2B8636
triadic
#4E862B #2B4E86 #862B4E
tetradic
#4E862B #2B7C86 #632B86 #86362B
square
#4E862B #2B7C86 #632B86 #86362B
split-complementary
#4E862B #362B86 #862B7C
monochromatic
#18290D #33581C #4E862B #69B43A #89CC60

Accessibility & contrast

On white

4.40
#4E862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4E862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E862B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E862B#FFFFFF#000000##000000
##4E862B1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e862b;
/* rgb */ color: rgb(78, 134, 43);
/* oklch */ color: oklch(56.1% 0.137 135.6);
Tailwind
colors: {
  custom: {
    50: '#84a969',
    500: '#4e862b',
    950: '#000000',
  },
}
SCSS
$custom: #4e862b;
$custom-light: #84a969;
$custom-dark: #000000;
JSON
{
  "hex": "#4e862b",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 96.923,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.13667,
    "h": 135.6
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#4E862B
secondary
#905BB2
accent
#4DDBA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E862B

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

Preview Lab → · Contrast checker → · Palette generator →

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