#4E5E12#4E5E12

#4E5E12 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.3% C 0.099 H 121.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4E5E12
RGBrgb(78, 94, 18)
HSLhsl(73, 68%, 22%)
HSVhsv(73, 81%, 37%)
CMYKcmyk(17%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.24, -17.40, 38.53)
CIE-LCHlch(37.24, 42.28, 114.30°)
OKLaboklab(45.31% -0.0514 0.0851)
OKLCHoklch(45.31% 0.099 121.1)
XYZxyz(7.2539, 9.6688, 2.0563)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5E12 #22125E
analogous
#5E4812 #4E5E12 #285E12
triadic
#4E5E12 #124E5E #5E124E
tetradic
#4E5E12 #125E48 #22125E #5E1228
square
#4E5E12 #125E48 #22125E #5E1228
split-complementary
#4E5E12 #12285E #48125E
monochromatic
#151A05 #232B08 #4E5E12 #79911C #A3C526

Accessibility & contrast

On white

7.16
#4E5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5E12
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5E12#FFFFFF#000000##FFFFFF
##4E5E121.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#535950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5e12;
/* rgb */ color: rgb(78, 94, 18);
/* oklch */ color: oklch(45.3% 0.099 121.1);
Tailwind
colors: {
  custom: {
    50: '#828b57',
    500: '#4e5e12',
    950: '#000000',
  },
}
SCSS
$custom: #4e5e12;
$custom-light: #828b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5e12",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 72.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.09939,
    "h": 121.1
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#4E5E12
secondary
#4A3596
accent
#3DEB62
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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