#4E642A#4E642A

#4E642A is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.088 H 126.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4E642A
RGBrgb(78, 100, 42)
HSLhsl(83, 41%, 28%)
HSVhsv(83, 58%, 39%)
CMYKcmyk(22%, 0%, 58%, 60.8%)
CIE-LABlab(39.41, -18.67, 29.80)
CIE-LCHlch(39.41, 35.16, 122.06°)
OKLaboklab(47.13% -0.0525 0.0702)
OKLCHoklch(47.13% 0.088 126.8)
XYZxyz(8.1170, 10.9011, 3.8665)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E642A #402A64
analogous
#645D2A #4E642A #31642A
triadic
#4E642A #2A4E64 #642A4E
tetradic
#4E642A #2A645D #402A64 #642A31
square
#4E642A #2A645D #402A64 #642A31
split-complementary
#4E642A #2A3164 #5D2A64
monochromatic
#111609 #2C3918 #4E642A #708F3C #90B652

Accessibility & contrast

On white

6.60
#4E642A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E642A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E642A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E642A#FFFFFF#000000##FFFFFF
##4E642A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E24
Deuteranopia (green-blind)
#665C2E
Tritanopia (blue-blind)
#516057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e642a;
/* rgb */ color: rgb(78, 100, 42);
/* oklch */ color: oklch(47.1% 0.088 126.8);
Tailwind
colors: {
  custom: {
    50: '#819065',
    500: '#4e642a',
    950: '#000000',
  },
}
SCSS
$custom: #4e642a;
$custom-light: #819065;
$custom-dark: #000000;
JSON
{
  "hex": "#4e642a",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 82.759,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.08764,
    "h": 126.8
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#4E642A
secondary
#6D5396
accent
#57D185
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E642A

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

Preview Lab → · Contrast checker → · Palette generator →

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