#4E6A17#4E6A17

#4E6A17 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.112 H 126.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4E6A17
RGBrgb(78, 106, 23)
HSLhsl(80, 64%, 25%)
HSVhsv(80, 78%, 42%)
CMYKcmyk(26.4%, 0%, 78.3%, 58.4%)
CIE-LABlab(41.20, -23.39, 40.45)
CIE-LCHlch(41.20, 46.72, 120.04°)
OKLaboklab(48.52% -0.0673 0.09)
OKLCHoklch(48.52% 0.112 126.8)
XYZxyz(8.4506, 11.9895, 2.6794)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A17 #33176A
analogous
#6A5C17 #4E6A17 #246A17
triadic
#4E6A17 #174E6A #6A174E
tetradic
#4E6A17 #176A5C #33176A #6A1724
square
#4E6A17 #176A5C #33176A #6A1724
split-complementary
#4E6A17 #17246A #5C176A
monochromatic
#131905 #29380C #4E6A17 #739C22 #98CF2D

Accessibility & contrast

On white

6.18
#4E6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A17
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A17#FFFFFF#000000##FFFFFF
##4E6A171.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#51655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a17;
/* rgb */ color: rgb(78, 106, 23);
/* oklch */ color: oklch(48.5% 0.112 126.8);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4e6a17',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a17;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a17",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 80.241,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.11239,
    "h": 126.8
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#4E6A17
secondary
#5E3DA0
accent
#40E779
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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