#4E6A2F#4E6A2F

#4E6A2F is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.092 H 130.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4E6A2F
RGBrgb(78, 106, 47)
HSLhsl(88, 39%, 30%)
HSVhsv(88, 56%, 42%)
CMYKcmyk(26.4%, 0%, 55.7%, 58.4%)
CIE-LABlab(41.43, -21.26, 29.52)
CIE-LCHlch(41.43, 36.38, 125.75°)
OKLaboklab(48.77% -0.0592 0.0701)
OKLCHoklch(48.77% 0.092 130.2)
XYZxyz(8.8089, 12.1328, 4.5665)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A2F #4B2F6A
analogous
#6A692F #4E6A2F #306A2F
triadic
#4E6A2F #2F4E6A #6A2F4E
tetradic
#4E6A2F #2F6A69 #4B2F6A #6A2F30
square
#4E6A2F #2F6A69 #4B2F6A #6A2F30
split-complementary
#4E6A2F #2F306A #692F6A
monochromatic
#101509 #2F401C #4E6A2F #6D9442 #8CB75C

Accessibility & contrast

On white

6.13
#4E6A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E6A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A2F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A2F#FFFFFF#000000##FFFFFF
##4E6A2F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F632A
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#50665D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e6a2f;
/* rgb */ color: rgb(78, 106, 47);
/* oklch */ color: oklch(48.8% 0.092 130.2);
Tailwind
colors: {
  custom: {
    50: '#819469',
    500: '#4e6a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a2f;
$custom-light: #819469;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a2f",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 88.475,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.09174,
    "h": 130.2
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#4E6A2F
secondary
#79599B
accent
#59CE91
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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