#4E6226#4E6226

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

Color values

HEX#4E6226
RGBrgb(78, 98, 38)
HSLhsl(80, 44%, 27%)
HSVhsv(80, 61%, 38%)
CMYKcmyk(20.4%, 0%, 61.2%, 61.6%)
CIE-LABlab(38.72, -18.02, 31.08)
CIE-LCHlch(38.72, 35.93, 120.10°)
OKLaboklab(46.55% -0.0511 0.0725)
OKLCHoklch(46.55% 0.089 125.2)
XYZxyz(7.8594, 10.4949, 3.4450)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6226 #3A2662
analogous
#625826 #4E6226 #306226
triadic
#4E6226 #264E62 #62264E
tetradic
#4E6226 #266258 #3A2662 #622630
square
#4E6226 #266258 #3A2662 #622630
split-complementary
#4E6226 #263062 #582662
monochromatic
#121609 #2B3615 #4E6226 #718E37 #94B94A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6226#FFFFFF#000000##FFFFFF
##4E62261.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)
#675C20
Deuteranopia (green-blind)
#645B2A
Tritanopia (blue-blind)
#515D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6226;
/* rgb */ color: rgb(78, 98, 38);
/* oklch */ color: oklch(46.6% 0.089 125.2);
Tailwind
colors: {
  custom: {
    50: '#818e63',
    500: '#4e6226',
    950: '#000000',
  },
}
SCSS
$custom: #4e6226;
$custom-light: #818e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6226",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 80,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.08867,
    "h": 125.2
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#4E6226
secondary
#664F95
accent
#54D47F
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6226

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

Preview Lab → · Contrast checker → · Palette generator →

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