#4E5F18#4E5F18

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

Color values

HEX#4E5F18
RGBrgb(78, 95, 24)
HSLhsl(74, 60%, 23%)
HSVhsv(74, 75%, 37%)
CMYKcmyk(17.9%, 0%, 74.7%, 62.7%)
CIE-LABlab(37.61, -17.58, 36.51)
CIE-LCHlch(37.61, 40.52, 115.71°)
OKLaboklab(45.61% -0.0513 0.0819)
OKLCHoklch(45.61% 0.097 122.1)
XYZxyz(7.3991, 9.8701, 2.3793)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F18 #29185F
analogous
#5F4C18 #4E5F18 #2A5F18
triadic
#4E5F18 #184E5F #5F184E
tetradic
#4E5F18 #185F4C #29185F #5F182A
square
#4E5F18 #185F4C #29185F #5F182A
split-complementary
#4E5F18 #182A5F #4C185F
monochromatic
#141806 #262E0C #4E5F18 #769024 #9EC131

Accessibility & contrast

On white

7.06
#4E5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E5F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F18
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F18#FFFFFF#000000##FFFFFF
##4E5F181.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#525A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5f18;
/* rgb */ color: rgb(78, 95, 24);
/* oklch */ color: oklch(45.6% 0.097 122.1);
Tailwind
colors: {
  custom: {
    50: '#828c5a',
    500: '#4e5f18',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f18;
$custom-light: #828c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f18",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 74.366,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.09665,
    "h": 122.1
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#4E5F18
secondary
#523D95
accent
#45E36B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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