#4E6112#4E6112

#4E6112 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.103 H 122.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4E6112
RGBrgb(78, 97, 18)
HSLhsl(74, 69%, 23%)
HSVhsv(74, 81%, 38%)
CMYKcmyk(19.6%, 0%, 81.4%, 62%)
CIE-LABlab(38.22, -19.01, 39.45)
CIE-LCHlch(38.22, 43.79, 115.72°)
OKLaboklab(46.1% -0.0558 0.087)
OKLCHoklch(46.1% 0.103 122.7)
XYZxyz(7.5259, 10.2127, 2.1469)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6112 #251261
analogous
#614C12 #4E6112 #276112
triadic
#4E6112 #124E61 #61124E
tetradic
#4E6112 #12614C #251261 #611227
square
#4E6112 #12614C #251261 #611227
split-complementary
#4E6112 #122761 #4C1261
monochromatic
#151A05 #242D08 #4E6112 #78951C #A1C825

Accessibility & contrast

On white

6.90
#4E6112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E6112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6112
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6112#FFFFFF#000000##FFFFFF
##4E61121.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#525C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e6112;
/* rgb */ color: rgb(78, 97, 18);
/* oklch */ color: oklch(46.1% 0.103 122.7);
Tailwind
colors: {
  custom: {
    50: '#828e57',
    500: '#4e6112',
    950: '#000000',
  },
}
SCSS
$custom: #4e6112;
$custom-light: #828e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6112",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 74.43,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46096,
    "c": 0.10336,
    "h": 122.7
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#4E6112
secondary
#4E3699
accent
#3CEC66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E6112

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

Preview Lab → · Contrast checker → · Palette generator →

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