#4E5A18#4E5A18

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

Color values

HEX#4E5A18
RGBrgb(78, 90, 24)
HSLhsl(71, 58%, 22%)
HSVhsv(71, 73%, 35%)
CMYKcmyk(13.3%, 0%, 73.3%, 64.7%)
CIE-LABlab(35.98, -14.84, 34.87)
CIE-LCHlch(35.98, 37.90, 113.05°)
OKLaboklab(44.3% -0.0437 0.0785)
OKLCHoklch(44.3% 0.09 119.1)
XYZxyz(6.9630, 8.9980, 2.2339)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A18 #24185A
analogous
#5A4518 #4E5A18 #2D5A18
triadic
#4E5A18 #184E5A #5A184E
tetradic
#4E5A18 #185A45 #24185A #5A182D
square
#4E5A18 #185A45 #24185A #5A182D
split-complementary
#4E5A18 #182D5A #45185A
monochromatic
#151806 #242A0B #4E5A18 #788A25 #A2BB32

Accessibility & contrast

On white

7.50
#4E5A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5A18
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A18#FFFFFF#000000##FFFFFF
##4E5A181.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550E
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#53554D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5a18;
/* rgb */ color: rgb(78, 90, 24);
/* oklch */ color: oklch(44.3% 0.090 119.1);
Tailwind
colors: {
  custom: {
    50: '#828859',
    500: '#4e5a18',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a18;
$custom-light: #828859;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a18",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 70.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.08982,
    "h": 119.1
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#4E5A18
secondary
#4C3D91
accent
#47E163
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5A18

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

Preview Lab → · Contrast checker → · Palette generator →

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