#4E6917#4E6917

#4E6917 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.111 H 126.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4E6917
RGBrgb(78, 105, 23)
HSLhsl(80, 64%, 25%)
HSVhsv(80, 78%, 41%)
CMYKcmyk(25.7%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.87, -22.88, 40.13)
CIE-LCHlch(40.87, 46.19, 119.69°)
OKLaboklab(48.25% -0.066 0.0893)
OKLCHoklch(48.25% 0.111 126.4)
XYZxyz(8.3482, 11.7846, 2.6453)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6917 #321769
analogous
#695B17 #4E6917 #256917
triadic
#4E6917 #174E69 #69174E
tetradic
#4E6917 #17695B #321769 #691725
square
#4E6917 #17695B #321769 #691725
split-complementary
#4E6917 #172569 #5B1769
monochromatic
#131905 #29370C #4E6917 #739B22 #99CD2D

Accessibility & contrast

On white

6.26
#4E6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6917
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6917#FFFFFF#000000##FFFFFF
##4E69171.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#516459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6917;
/* rgb */ color: rgb(78, 105, 23);
/* oklch */ color: oklch(48.3% 0.111 126.4);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4e6917',
    950: '#000000',
  },
}
SCSS
$custom: #4e6917;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6917",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 79.756,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.11104,
    "h": 126.4
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#4E6917
secondary
#5D3D9F
accent
#41E778
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6917

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

Preview Lab → · Contrast checker → · Palette generator →

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