#4E5C12#4E5C12

#4E5C12 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.8% C 0.097 H 120.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E5C12
RGBrgb(78, 92, 18)
HSLhsl(71, 67%, 22%)
HSVhsv(71, 80%, 36%)
CMYKcmyk(15.2%, 0%, 80.4%, 63.9%)
CIE-LABlab(36.59, -16.31, 37.92)
CIE-LCHlch(36.59, 41.28, 113.28°)
OKLaboklab(44.78% -0.0484 0.0838)
OKLCHoklch(44.78% 0.097 120)
XYZxyz(7.0783, 9.3177, 1.9977)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C12 #20125C
analogous
#5C4512 #4E5C12 #295C12
triadic
#4E5C12 #124E5C #5C124E
tetradic
#4E5C12 #125C45 #20125C #5C1229
square
#4E5C12 #125C45 #20125C #5C1229
split-complementary
#4E5C12 #12295C #45125C
monochromatic
#161A05 #232908 #4E5C12 #798F1C #A5C226

Accessibility & contrast

On white

7.33
#4E5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5C12
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C12#FFFFFF#000000##FFFFFF
##4E5C121.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#53574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5c12;
/* rgb */ color: rgb(78, 92, 18);
/* oklch */ color: oklch(44.8% 0.097 120.0);
Tailwind
colors: {
  custom: {
    50: '#828a56',
    500: '#4e5c12',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c12;
$custom-light: #828a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c12",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 71.351,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.09675,
    "h": 120
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#4E5C12
secondary
#473594
accent
#3EEA5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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