#4E6A2B#4E6A2B

#4E6A2B is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.096 H 129.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4E6A2B
RGBrgb(78, 106, 43)
HSLhsl(87, 42%, 29%)
HSVhsv(87, 59%, 42%)
CMYKcmyk(26.4%, 0%, 59.4%, 58.4%)
CIE-LABlab(41.38, -21.71, 31.56)
CIE-LCHlch(41.38, 38.31, 124.52°)
OKLaboklab(48.72% -0.0608 0.0741)
OKLCHoklch(48.72% 0.096 129.4)
XYZxyz(8.7319, 12.1020, 4.1609)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A2B #472B6A
analogous
#6A672B #4E6A2B #2F6A2B
triadic
#4E6A2B #2B4E6A #6A2B4E
tetradic
#4E6A2B #2B6A67 #472B6A #6A2B2F
square
#4E6A2B #2B6A67 #472B6A #6A2B2F
split-complementary
#4E6A2B #2B2F6A #672B6A
monochromatic
#101609 #2E3E19 #4E6A2B #6E963D #8DBA55

Accessibility & contrast

On white

6.14
#4E6A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E6A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A2B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A2B#FFFFFF#000000##FFFFFF
##4E6A2B1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6325
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#50665C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e6a2b;
/* rgb */ color: rgb(78, 106, 43);
/* oklch */ color: oklch(48.7% 0.096 129.4);
Tailwind
colors: {
  custom: {
    50: '#819467',
    500: '#4e6a2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a2b;
$custom-light: #819467;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a2b",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 86.667,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.09587,
    "h": 129.4
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#4E6A2B
secondary
#74559C
accent
#56D28D
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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