#4E6B17#4E6B17

#4E6B17 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.114 H 127.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E6B17
RGBrgb(78, 107, 23)
HSLhsl(81, 65%, 25%)
HSVhsv(81, 79%, 42%)
CMYKcmyk(27.1%, 0%, 78.5%, 58%)
CIE-LABlab(41.53, -23.89, 40.76)
CIE-LCHlch(41.53, 47.25, 120.38°)
OKLaboklab(48.78% -0.0687 0.0907)
OKLCHoklch(48.78% 0.114 127.2)
XYZxyz(8.5543, 12.1968, 2.7140)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6B17 #34176B
analogous
#6B5E17 #4E6B17 #246B17
triadic
#4E6B17 #174E6B #6B174E
tetradic
#4E6B17 #176B5E #34176B #6B1724
square
#4E6B17 #176B5E #34176B #6B1724
split-complementary
#4E6B17 #17246B #5E176B
monochromatic
#121905 #29390C #4E6B17 #739D22 #97D02D

Accessibility & contrast

On white

6.11
#4E6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6B17
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6B17#FFFFFF#000000##FFFFFF
##4E6B171.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#51665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e6b17;
/* rgb */ color: rgb(78, 107, 23);
/* oklch */ color: oklch(48.8% 0.114 127.2);
Tailwind
colors: {
  custom: {
    50: '#83955b',
    500: '#4e6b17',
    950: '#000000',
  },
}
SCSS
$custom: #4e6b17;
$custom-light: #83955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6b17",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 80.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.11375,
    "h": 127.2
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#4E6B17
secondary
#5F3DA1
accent
#40E87A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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