#4E831C#4E831C

#4E831C is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.143 H 133.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E831C
RGBrgb(78, 131, 28)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(40.5%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.42, -34.91, 46.55)
CIE-LCHlch(49.42, 58.18, 126.87°)
OKLaboklab(55.23% -0.0982 0.1036)
OKLCHoklch(55.23% 0.143 133.5)
XYZxyz(11.4676, 17.9356, 3.9561)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E831C #511C83
analogous
#81831C #4E831C #1C831D
triadic
#4E831C #1C4E83 #831C4E
tetradic
#4E831C #1C8183 #511C83 #831D1C
square
#4E831C #1C8183 #511C83 #831D1C
split-complementary
#4E831C #1D1C83 #831C81
monochromatic
#121E06 #305111 #4E831C #6CB527 #8BD743

Accessibility & contrast

On white

4.58
#4E831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4E831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E831C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E831C#FFFFFF#000000##000000
##4E831C1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#4E7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e831c;
/* rgb */ color: rgb(78, 131, 28);
/* oklch */ color: oklch(55.2% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#85a761',
    500: '#4e831c',
    950: '#000000',
  },
}
SCSS
$custom: #4e831c;
$custom-light: #85a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4e831c",
  "rgb": {
    "r": 78,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 90.874,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.14275,
    "h": 133.5
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#4E831C
secondary
#7F45B6
accent
#40E896
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E831C

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

Preview Lab → · Contrast checker → · Palette generator →

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