#4E5A12#4E5A12

#4E5A12 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.3% C 0.094 H 118.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4E5A12
RGBrgb(78, 90, 18)
HSLhsl(70, 67%, 21%)
HSVhsv(70, 80%, 35%)
CMYKcmyk(13.3%, 0%, 80%, 64.7%)
CIE-LABlab(35.94, -15.21, 37.30)
CIE-LCHlch(35.94, 40.29, 112.19°)
OKLaboklab(44.25% -0.0454 0.0825)
OKLCHoklch(44.25% 0.094 118.8)
XYZxyz(6.9074, 8.9758, 1.9408)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A12 #1E125A
analogous
#5A4212 #4E5A12 #2A5A12
triadic
#4E5A12 #124E5A #5A124E
tetradic
#4E5A12 #125A42 #1E125A #5A122A
square
#4E5A12 #125A42 #1E125A #5A122A
split-complementary
#4E5A12 #122A5A #42125A
monochromatic
#161A05 #222708 #4E5A12 #7A8D1C #A6C026

Accessibility & contrast

On white

7.51
#4E5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A12
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A12#FFFFFF#000000##FFFFFF
##4E5A121.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#53554C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5a12;
/* rgb */ color: rgb(78, 90, 18);
/* oklch */ color: oklch(44.3% 0.094 118.8);
Tailwind
colors: {
  custom: {
    50: '#828856',
    500: '#4e5a12',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a12;
$custom-light: #828856;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a12",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.09413,
    "h": 118.8
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#4E5A12
secondary
#453593
accent
#3EEA5B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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