#4E6122#4E6122

#4E6122 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.2% C 0.091 H 124.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4E6122
RGBrgb(78, 97, 34)
HSLhsl(78, 48%, 26%)
HSVhsv(78, 65%, 38%)
CMYKcmyk(19.6%, 0%, 64.9%, 62%)
CIE-LABlab(38.35, -17.86, 32.68)
CIE-LCHlch(38.35, 37.25, 118.65°)
OKLaboklab(46.24% -0.0511 0.0754)
OKLCHoklch(46.24% 0.091 124.1)
XYZxyz(7.7054, 10.2845, 3.0922)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6122 #352261
analogous
#615422 #4E6122 #2E6122
triadic
#4E6122 #224E61 #61224E
tetradic
#4E6122 #226154 #352261 #61222E
square
#4E6122 #226154 #352261 #61222E
split-complementary
#4E6122 #222E61 #542261
monochromatic
#121708 #2A3412 #4E6122 #728E32 #97BC42

Accessibility & contrast

On white

6.87
#4E6122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E6122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6122
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6122#FFFFFF#000000##FFFFFF
##4E61221.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B1B
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#525C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e6122;
/* rgb */ color: rgb(78, 97, 34);
/* oklch */ color: oklch(46.2% 0.091 124.1);
Tailwind
colors: {
  custom: {
    50: '#818e60',
    500: '#4e6122',
    950: '#000000',
  },
}
SCSS
$custom: #4e6122;
$custom-light: #818e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6122",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 34
  },
  "hsl": {
    "h": 78.095,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.09106,
    "h": 124.1
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#4E6122
secondary
#614A95
accent
#50D879
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6122

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

Preview Lab → · Contrast checker → · Palette generator →

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