#4E801F#4E801F

#4E801F is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.137 H 133.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E801F
RGBrgb(78, 128, 31)
HSLhsl(91, 61%, 31%)
HSVhsv(91, 76%, 50%)
CMYKcmyk(39.1%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.46, -33.37, 44.52)
CIE-LCHlch(48.46, 55.64, 126.85°)
OKLaboklab(54.45% -0.0938 0.0999)
OKLCHoklch(54.45% 0.137 133.2)
XYZxyz(11.1082, 17.1565, 4.0223)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E801F #511F80
analogous
#7E801F #4E801F #1F8020
triadic
#4E801F #1F4E80 #801F4E
tetradic
#4E801F #1F7E80 #511F80 #80201F
square
#4E801F #1F7E80 #511F80 #80201F
split-complementary
#4E801F #201F80 #801F7E
monochromatic
#121D07 #304F13 #4E801F #6CB12B #8BD247

Accessibility & contrast

On white

4.74
#4E801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4E801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E801F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E801F#FFFFFF#000000##FFFFFF
##4E801F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#4E7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e801f;
/* rgb */ color: rgb(78, 128, 31);
/* oklch */ color: oklch(54.4% 0.137 133.2);
Tailwind
colors: {
  custom: {
    50: '#84a562',
    500: '#4e801f',
    950: '#000000',
  },
}
SCSS
$custom: #4e801f;
$custom-light: #84a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4e801f",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 90.928,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.13701,
    "h": 133.2
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#4E801F
secondary
#7F48B3
accent
#44E496
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E801F

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

Preview Lab → · Contrast checker → · Palette generator →

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