#4E6F18#4E6F18

#4E6F18 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.119 H 128.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4E6F18
RGBrgb(78, 111, 24)
HSLhsl(83, 64%, 26%)
HSVhsv(83, 78%, 44%)
CMYKcmyk(29.7%, 0%, 78.4%, 56.5%)
CIE-LABlab(42.84, -25.82, 41.66)
CIE-LCHlch(42.84, 49.01, 121.79°)
OKLaboklab(49.86% -0.0739 0.0927)
OKLCHoklch(49.86% 0.119 128.6)
XYZxyz(8.9912, 13.0543, 2.9100)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6F18 #39186F
analogous
#6F6518 #4E6F18 #236F18
triadic
#4E6F18 #184E6F #6F184E
tetradic
#4E6F18 #186F65 #39186F #6F1823
square
#4E6F18 #186F65 #39186F #6F1823
split-complementary
#4E6F18 #18236F #65186F
monochromatic
#121905 #2B3D0D #4E6F18 #71A123 #94D22F

Accessibility & contrast

On white

5.82
#4E6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6F18
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6F18#FFFFFF#000000##FFFFFF
##4E6F181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#516A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e6f18;
/* rgb */ color: rgb(78, 111, 24);
/* oklch */ color: oklch(49.9% 0.119 128.6);
Tailwind
colors: {
  custom: {
    50: '#83985c',
    500: '#4e6f18',
    950: '#000000',
  },
}
SCSS
$custom: #4e6f18;
$custom-light: #83985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6f18",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 82.759,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.11855,
    "h": 128.6
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#4E6F18
secondary
#653EA5
accent
#40E780
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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