#4E662F#4E662F

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

Color values

HEX#4E662F
RGBrgb(78, 102, 47)
HSLhsl(86, 37%, 29%)
HSVhsv(86, 54%, 40%)
CMYKcmyk(23.5%, 0%, 53.9%, 60%)
CIE-LABlab(40.13, -19.15, 27.97)
CIE-LCHlch(40.13, 33.90, 124.40°)
OKLaboklab(47.72% -0.0534 0.0667)
OKLCHoklch(47.72% 0.085 128.7)
XYZxyz(8.4063, 11.3275, 4.4323)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E662F #472F66
analogous
#66632F #4E662F #33662F
triadic
#4E662F #2F4E66 #662F4E
tetradic
#4E662F #2F6663 #472F66 #662F33
square
#4E662F #2F6663 #472F66 #662F33
split-complementary
#4E662F #2F3366 #632F66
monochromatic
#10150A #2E3C1C #4E662F #6E9042 #8DB45C

Accessibility & contrast

On white

6.43
#4E662F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E662F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E662F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E662F#FFFFFF#000000##FFFFFF
##4E662F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#506259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e662f;
/* rgb */ color: rgb(78, 102, 47);
/* oklch */ color: oklch(47.7% 0.085 128.7);
Tailwind
colors: {
  custom: {
    50: '#819169',
    500: '#4e662f',
    950: '#000000',
  },
}
SCSS
$custom: #4e662f;
$custom-light: #819169;
$custom-dark: #000000;
JSON
{
  "hex": "#4e662f",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 86.182,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47724,
    "c": 0.08541,
    "h": 128.7
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#4E662F
secondary
#745998
accent
#5BCD8D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0D06
muted
#7C7D7A

Preview Lab

Preview with #4E662F

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

Preview Lab → · Contrast checker → · Palette generator →

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