#4E5C28#4E5C28

#4E5C28 is a mid, moderate yellow-green. Relative luminance 0.094; OKLCH L 45.0% C 0.077 H 122.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4E5C28
RGBrgb(78, 92, 40)
HSLhsl(76, 39%, 26%)
HSVhsv(76, 57%, 36%)
CMYKcmyk(15.2%, 0%, 56.5%, 63.9%)
CIE-LABlab(36.79, -14.52, 27.80)
CIE-LCHlch(36.79, 31.37, 117.58°)
OKLaboklab(45.01% -0.0411 0.0656)
OKLCHoklch(45.01% 0.077 122.1)
XYZxyz(7.3521, 9.4272, 3.4394)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C28 #36285C
analogous
#5C5028 #4E5C28 #345C28
triadic
#4E5C28 #284E5C #5C284E
tetradic
#4E5C28 #285C50 #36285C #5C2834
square
#4E5C28 #285C50 #36285C #5C2834
split-complementary
#4E5C28 #28345C #50285C
monochromatic
#121509 #2A3115 #4E5C28 #72873B #96B14D

Accessibility & contrast

On white

7.28
#4E5C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E5C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5C28
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C28#FFFFFF#000000##FFFFFF
##4E5C281.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#5F572B
Tritanopia (blue-blind)
#525850
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5c28;
/* rgb */ color: rgb(78, 92, 40);
/* oklch */ color: oklch(45.0% 0.077 122.1);
Tailwind
colors: {
  custom: {
    50: '#818a63',
    500: '#4e5c28',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c28;
$custom-light: #818a63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c28",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 76.154,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.07745,
    "h": 122.1
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#4E5C28
secondary
#62518F
accent
#59CF78
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0B05
muted
#7C7C7A

Preview Lab

Preview with #4E5C28

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

Preview Lab → · Contrast checker → · Palette generator →

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