#4E6A1F#4E6A1F

#4E6A1F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.6% C 0.107 H 127.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E6A1F
RGBrgb(78, 106, 31)
HSLhsl(82, 55%, 27%)
HSVhsv(82, 71%, 42%)
CMYKcmyk(26.4%, 0%, 70.8%, 58.4%)
CIE-LABlab(41.26, -22.83, 37.21)
CIE-LCHlch(41.26, 43.66, 121.53°)
OKLaboklab(48.58% -0.0651 0.0845)
OKLCHoklch(48.58% 0.107 127.6)
XYZxyz(8.5432, 12.0265, 3.1673)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A1F #3B1F6A
analogous
#6A611F #4E6A1F #296A1F
triadic
#4E6A1F #1F4E6A #6A1F4E
tetradic
#4E6A1F #1F6A61 #3B1F6A #6A1F29
square
#4E6A1F #1F6A61 #3B1F6A #6A1F29
split-complementary
#4E6A1F #1F296A #611F6A
monochromatic
#111807 #2B3B11 #4E6A1F #71992D #93C63D

Accessibility & contrast

On white

6.17
#4E6A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E6A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A1F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A1F#FFFFFF#000000##FFFFFF
##4E6A1F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706214
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#51655B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a1f;
/* rgb */ color: rgb(78, 106, 31);
/* oklch */ color: oklch(48.6% 0.107 127.6);
Tailwind
colors: {
  custom: {
    50: '#82945f',
    500: '#4e6a1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a1f;
$custom-light: #82945f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a1f",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 82.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.10667,
    "h": 127.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4E6A1F
secondary
#67479E
accent
#4ADE81
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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