#4E831B#4E831B

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

Color values

HEX#4E831B
RGBrgb(78, 131, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(40.5%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.41, -34.97, 46.89)
CIE-LCHlch(49.41, 58.49, 126.72°)
OKLaboklab(55.22% -0.0984 0.1042)
OKLCHoklch(55.22% 0.143 133.4)
XYZxyz(11.4558, 17.9309, 3.8941)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E831B #501B83
analogous
#82831B #4E831B #1B831C
triadic
#4E831B #1B4E83 #831B4E
tetradic
#4E831B #1B8283 #501B83 #831C1B
square
#4E831B #1B8283 #501B83 #831C1B
split-complementary
#4E831B #1C1B83 #831B82
monochromatic
#121E06 #305011 #4E831B #6CB625 #8BD841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E831B#FFFFFF#000000##000000
##4E831B1.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)
#897801
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#4E7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e831b;
/* rgb */ color: rgb(78, 131, 27);
/* oklch */ color: oklch(55.2% 0.143 133.4);
Tailwind
colors: {
  custom: {
    50: '#85a760',
    500: '#4e831b',
    950: '#000000',
  },
}
SCSS
$custom: #4e831b;
$custom-light: #85a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4e831b",
  "rgb": {
    "r": 78,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 90.577,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.14331,
    "h": 133.4
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#4E831B
secondary
#7E43B6
accent
#3FE996
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E831B

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

Preview Lab → · Contrast checker → · Palette generator →

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