#4E841F#4E841F

#4E841F is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.142 H 133.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4E841F
RGBrgb(78, 132, 31)
HSLhsl(92, 62%, 32%)
HSVhsv(92, 77%, 52%)
CMYKcmyk(40.9%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.76, -35.16, 45.81)
CIE-LCHlch(49.76, 57.75, 127.51°)
OKLaboklab(55.51% -0.0987 0.1025)
OKLCHoklch(55.51% 0.142 133.9)
XYZxyz(11.6403, 18.2206, 4.1996)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E841F #551F84
analogous
#81841F #4E841F #1F8423
triadic
#4E841F #1F4E84 #841F4E
tetradic
#4E841F #1F8184 #551F84 #84231F
square
#4E841F #1F8184 #551F84 #84231F
split-complementary
#4E841F #231F84 #841F81
monochromatic
#132108 #315213 #4E841F #6BB62B #8AD449

Accessibility & contrast

On white

4.52
#4E841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4E841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E841F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E841F#FFFFFF#000000##000000
##4E841F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#4E7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e841f;
/* rgb */ color: rgb(78, 132, 31);
/* oklch */ color: oklch(55.5% 0.142 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a862',
    500: '#4e841f',
    950: '#000000',
  },
}
SCSS
$custom: #4e841f;
$custom-light: #84a862;
$custom-dark: #000000;
JSON
{
  "hex": "#4e841f",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 92.079,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.1423,
    "h": 133.9
  },
  "luminance": 0.18221
}

Semantic roles & 50–950 ramp

primary
#4E841F
secondary
#8348B7
accent
#43E59A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E841F

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

Preview Lab → · Contrast checker → · Palette generator →

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