#4E831F#4E831F

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

Color values

HEX#4E831F
RGBrgb(78, 131, 31)
HSLhsl(92, 62%, 32%)
HSVhsv(92, 76%, 51%)
CMYKcmyk(40.5%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.44, -34.72, 45.49)
CIE-LCHlch(49.44, 57.22, 127.35°)
OKLaboklab(55.25% -0.0975 0.1019)
OKLCHoklch(55.25% 0.141 133.7)
XYZxyz(11.5053, 17.9507, 4.1547)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E831F #541F83
analogous
#80831F #4E831F #1F8322
triadic
#4E831F #1F4E83 #831F4E
tetradic
#4E831F #1F8083 #541F83 #83221F
square
#4E831F #1F8083 #541F83 #83221F
split-complementary
#4E831F #221F83 #831F80
monochromatic
#132008 #315213 #4E831F #6BB42B #8AD449

Accessibility & contrast

On white

4.57
#4E831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E831F#FFFFFF#000000##000000
##4E831F1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#4E7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e831f;
/* rgb */ color: rgb(78, 131, 31);
/* oklch */ color: oklch(55.2% 0.141 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a762',
    500: '#4e831f',
    950: '#000000',
  },
}
SCSS
$custom: #4e831f;
$custom-light: #84a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4e831f",
  "rgb": {
    "r": 78,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 91.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.14098,
    "h": 133.7
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#4E831F
secondary
#8248B6
accent
#43E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E831F

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

Preview Lab → · Contrast checker → · Palette generator →

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