#4E6B18#4E6B18

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

Color values

HEX#4E6B18
RGBrgb(78, 107, 24)
HSLhsl(81, 63%, 26%)
HSVhsv(81, 78%, 42%)
CMYKcmyk(27.1%, 0%, 77.6%, 58%)
CIE-LABlab(41.53, -23.83, 40.39)
CIE-LCHlch(41.53, 46.90, 120.54°)
OKLaboklab(48.79% -0.0685 0.09)
OKLCHoklch(48.79% 0.113 127.3)
XYZxyz(8.5645, 12.2009, 2.7678)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6B18 #35186B
analogous
#6B5E18 #4E6B18 #246B18
triadic
#4E6B18 #184E6B #6B184E
tetradic
#4E6B18 #186B5E #35186B #6B1824
square
#4E6B18 #186B5E #35186B #6B1824
split-complementary
#4E6B18 #18246B #5E186B
monochromatic
#121906 #2A390D #4E6B18 #729D23 #97CF2E

Accessibility & contrast

On white

6.10
#4E6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6B18
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6B18#FFFFFF#000000##FFFFFF
##4E6B181.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e6b18;
/* rgb */ color: rgb(78, 107, 24);
/* oklch */ color: oklch(48.8% 0.113 127.3);
Tailwind
colors: {
  custom: {
    50: '#83955c',
    500: '#4e6b18',
    950: '#000000',
  },
}
SCSS
$custom: #4e6b18;
$custom-light: #83955c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6b18",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 80.964,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.11312,
    "h": 127.3
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#4E6B18
secondary
#613EA1
accent
#41E67B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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