#4E6A1B#4E6A1B

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

Color values

HEX#4E6A1B
RGBrgb(78, 106, 27)
HSLhsl(81, 59%, 26%)
HSVhsv(81, 75%, 42%)
CMYKcmyk(26.4%, 0%, 74.5%, 58.4%)
CIE-LABlab(41.23, -23.13, 38.89)
CIE-LCHlch(41.23, 45.25, 120.74°)
OKLaboklab(48.55% -0.0663 0.0874)
OKLCHoklch(48.55% 0.11 127.2)
XYZxyz(8.4938, 12.0067, 2.9067)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A1B #371B6A
analogous
#6A5E1B #4E6A1B #266A1B
triadic
#4E6A1B #1B4E6A #6A1B4E
tetradic
#4E6A1B #1B6A5E #371B6A #6A1B26
square
#4E6A1B #1B6A5E #371B6A #6A1B26
split-complementary
#4E6A1B #1B266A #5E1B6A
monochromatic
#121806 #2A390F #4E6A1B #729B27 #96CB34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6A1B#FFFFFF#000000##FFFFFF
##4E6A1B1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620E
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#51655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a1b;
/* rgb */ color: rgb(78, 106, 27);
/* oklch */ color: oklch(48.5% 0.110 127.2);
Tailwind
colors: {
  custom: {
    50: '#82945d',
    500: '#4e6a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a1b;
$custom-light: #82945d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a1b",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 81.266,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.1097,
    "h": 127.2
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#4E6A1B
secondary
#63429F
accent
#45E37D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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