#4E662A#4E662A

#4E662A is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.091 H 127.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E662A
RGBrgb(78, 102, 42)
HSLhsl(84, 42%, 28%)
HSVhsv(84, 59%, 40%)
CMYKcmyk(23.5%, 0%, 58.8%, 60%)
CIE-LABlab(40.06, -19.73, 30.56)
CIE-LCHlch(40.06, 36.37, 122.84°)
OKLaboklab(47.65% -0.0554 0.0718)
OKLCHoklch(47.65% 0.091 127.7)
XYZxyz(8.3111, 11.2895, 3.9313)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E662A #422A66
analogous
#66602A #4E662A #30662A
triadic
#4E662A #2A4E66 #662A4E
tetradic
#4E662A #2A6660 #422A66 #662A30
square
#4E662A #2A6660 #422A66 #662A30
split-complementary
#4E662A #2A3066 #602A66
monochromatic
#111609 #2D3B18 #4E662A #6F913C #8FB852

Accessibility & contrast

On white

6.45
#4E662A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E662A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E662A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E662A#FFFFFF#000000##FFFFFF
##4E662A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F24
Deuteranopia (green-blind)
#685E2E
Tritanopia (blue-blind)
#516259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e662a;
/* rgb */ color: rgb(78, 102, 42);
/* oklch */ color: oklch(47.7% 0.091 127.7);
Tailwind
colors: {
  custom: {
    50: '#819166',
    500: '#4e662a',
    950: '#000000',
  },
}
SCSS
$custom: #4e662a;
$custom-light: #819166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e662a",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 84,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.09073,
    "h": 127.7
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#4E662A
secondary
#6F5498
accent
#56D188
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0D06
muted
#7C7D7A

Preview Lab

Preview with #4E662A

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

Preview Lab → · Contrast checker → · Palette generator →

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