#4E8017#4E8017

#4E8017 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.142 H 132.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E8017
RGBrgb(78, 128, 23)
HSLhsl(89, 70%, 30%)
HSVhsv(89, 82%, 50%)
CMYKcmyk(39.1%, 0%, 82%, 49.8%)
CIE-LABlab(48.41, -33.85, 47.25)
CIE-LCHlch(48.41, 58.13, 125.62°)
OKLaboklab(54.39% -0.0957 0.1043)
OKLCHoklch(54.39% 0.142 132.5)
XYZxyz(11.0156, 17.1194, 3.5344)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8017 #491780
analogous
#807D17 #4E8017 #1A8017
triadic
#4E8017 #174E80 #80174E
tetradic
#4E8017 #17807D #491780 #80171A
square
#4E8017 #17807D #491780 #80171A
split-complementary
#4E8017 #171A80 #7D1780
monochromatic
#101A05 #2E4C0E #4E8017 #6EB420 #8DDB36

Accessibility & contrast

On white

4.75
#4E8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8017
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8017#FFFFFF#000000##FFFFFF
##4E80171.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#4F7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8017;
/* rgb */ color: rgb(78, 128, 23);
/* oklch */ color: oklch(54.4% 0.142 132.5);
Tailwind
colors: {
  custom: {
    50: '#84a55e',
    500: '#4e8017',
    950: '#000000',
  },
}
SCSS
$custom: #4e8017;
$custom-light: #84a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8017",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 88.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.14154,
    "h": 132.5
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#4E8017
secondary
#773EB4
accent
#3BEC90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8017

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

Preview Lab → · Contrast checker → · Palette generator →

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