#4E6512#4E6512

#4E6512 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.109 H 124.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E6512
RGBrgb(78, 101, 18)
HSLhsl(77, 70%, 23%)
HSVhsv(77, 82%, 40%)
CMYKcmyk(22.8%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.53, -21.11, 40.67)
CIE-LCHlch(39.53, 45.82, 117.43°)
OKLaboklab(47.16% -0.0615 0.0896)
OKLCHoklch(47.16% 0.109 124.5)
XYZxyz(7.9048, 10.9707, 2.2732)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6512 #291265
analogous
#655212 #4E6512 #246512
triadic
#4E6512 #124E65 #65124E
tetradic
#4E6512 #126552 #291265 #651224
square
#4E6512 #126552 #291265 #651224
split-complementary
#4E6512 #122465 #521265
monochromatic
#141A05 #263109 #4E6512 #76991B #9ECD25

Accessibility & contrast

On white

6.57
#4E6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6512
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6512#FFFFFF#000000##FFFFFF
##4E65121.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#526056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6512;
/* rgb */ color: rgb(78, 101, 18);
/* oklch */ color: oklch(47.2% 0.109 124.5);
Tailwind
colors: {
  custom: {
    50: '#839158',
    500: '#4e6512',
    950: '#000000',
  },
}
SCSS
$custom: #4e6512;
$custom-light: #839158;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6512",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 76.627,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47156,
    "c": 0.10867,
    "h": 124.5
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#4E6512
secondary
#52369D
accent
#3BED6C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6512

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

Preview Lab → · Contrast checker → · Palette generator →

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