#4E5B12#4E5B12

#4E5B12 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.5% C 0.095 H 119.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4E5B12
RGBrgb(78, 91, 18)
HSLhsl(71, 67%, 21%)
HSVhsv(71, 80%, 36%)
CMYKcmyk(14.3%, 0%, 80.2%, 64.3%)
CIE-LABlab(36.26, -15.77, 37.61)
CIE-LCHlch(36.26, 40.78, 112.74°)
OKLaboklab(44.52% -0.0469 0.0831)
OKLCHoklch(44.52% 0.095 119.4)
XYZxyz(6.9923, 9.1456, 1.9691)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B12 #1F125B
analogous
#5B4412 #4E5B12 #2A5B12
triadic
#4E5B12 #124E5B #5B124E
tetradic
#4E5B12 #125B44 #1F125B #5B122A
square
#4E5B12 #125B44 #1F125B #5B122A
split-complementary
#4E5B12 #122A5B #44125B
monochromatic
#161A05 #222808 #4E5B12 #7A8E1C #A6C126

Accessibility & contrast

On white

7.42
#4E5B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E5B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5B12
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B12#FFFFFF#000000##FFFFFF
##4E5B121.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#53564D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5b12;
/* rgb */ color: rgb(78, 91, 18);
/* oklch */ color: oklch(44.5% 0.095 119.4);
Tailwind
colors: {
  custom: {
    50: '#828956',
    500: '#4e5b12',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b12;
$custom-light: #828956;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b12",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 70.685,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.09543,
    "h": 119.4
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#4E5B12
secondary
#463593
accent
#3EEA5D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5B12

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

Preview Lab → · Contrast checker → · Palette generator →

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