#4E6126#4E6126

#4E6126 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.087 H 124.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4E6126
RGBrgb(78, 97, 38)
HSLhsl(79, 44%, 26%)
HSVhsv(79, 61%, 38%)
CMYKcmyk(19.6%, 0%, 60.8%, 62%)
CIE-LABlab(38.39, -17.48, 30.71)
CIE-LCHlch(38.39, 35.34, 119.64°)
OKLaboklab(46.29% -0.0496 0.0717)
OKLCHoklch(46.29% 0.087 124.7)
XYZxyz(7.7665, 10.3090, 3.4140)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6126 #392661
analogous
#615726 #4E6126 #316126
triadic
#4E6126 #264E61 #61264E
tetradic
#4E6126 #266157 #392661 #612631
square
#4E6126 #266157 #392661 #612631
split-complementary
#4E6126 #263161 #572661
monochromatic
#121609 #2B3515 #4E6126 #718D37 #94B84A

Accessibility & contrast

On white

6.86
#4E6126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6126
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6126#FFFFFF#000000##FFFFFF
##4E61261.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B20
Deuteranopia (green-blind)
#645A2A
Tritanopia (blue-blind)
#515C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e6126;
/* rgb */ color: rgb(78, 97, 38);
/* oklch */ color: oklch(46.3% 0.087 124.7);
Tailwind
colors: {
  custom: {
    50: '#818e63',
    500: '#4e6126',
    950: '#000000',
  },
}
SCSS
$custom: #4e6126;
$custom-light: #818e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6126",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 38
  },
  "hsl": {
    "h": 79.322,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.08717,
    "h": 124.7
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#4E6126
secondary
#654F94
accent
#54D37D
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6126

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

Preview Lab → · Contrast checker → · Palette generator →

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