#4E6223#4E6223

#4E6223 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.092 H 124.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E6223
RGBrgb(78, 98, 35)
HSLhsl(79, 47%, 26%)
HSVhsv(79, 64%, 38%)
CMYKcmyk(20.4%, 0%, 64.3%, 61.6%)
CIE-LABlab(38.68, -18.31, 32.56)
CIE-LCHlch(38.68, 37.35, 119.34°)
OKLaboklab(46.51% -0.0522 0.0753)
OKLCHoklch(46.51% 0.092 124.7)
XYZxyz(7.8130, 10.4763, 3.2003)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6223 #372362
analogous
#625623 #4E6223 #2E6223
triadic
#4E6223 #234E62 #62234E
tetradic
#4E6223 #236256 #372362 #62232E
square
#4E6223 #236256 #372362 #62232E
split-complementary
#4E6223 #232E62 #562362
monochromatic
#121708 #2A3513 #4E6223 #728F33 #96BC43

Accessibility & contrast

On white

6.78
#4E6223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E6223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6223
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6223#FFFFFF#000000##FFFFFF
##4E62231.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C1C
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#515D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6223;
/* rgb */ color: rgb(78, 98, 35);
/* oklch */ color: oklch(46.5% 0.092 124.7);
Tailwind
colors: {
  custom: {
    50: '#818e61',
    500: '#4e6223',
    950: '#000000',
  },
}
SCSS
$custom: #4e6223;
$custom-light: #818e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6223",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 79.048,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.09159,
    "h": 124.7
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#4E6223
secondary
#634B96
accent
#51D77B
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6223

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

Preview Lab → · Contrast checker → · Palette generator →

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