#4E5F28#4E5F28

#4E5F28 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.082 H 123.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4E5F28
RGBrgb(78, 95, 40)
HSLhsl(79, 41%, 26%)
HSVhsv(79, 58%, 37%)
CMYKcmyk(17.9%, 0%, 57.9%, 62.7%)
CIE-LABlab(37.77, -16.18, 28.94)
CIE-LCHlch(37.77, 33.16, 119.21°)
OKLaboklab(45.79% -0.0457 0.0681)
OKLCHoklch(45.79% 0.082 123.9)
XYZxyz(7.6171, 9.9573, 3.5277)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F28 #39285F
analogous
#5F5528 #4E5F28 #335F28
triadic
#4E5F28 #284E5F #5F284E
tetradic
#4E5F28 #285F55 #39285F #5F2833
square
#4E5F28 #285F55 #39285F #5F2833
split-complementary
#4E5F28 #28335F #55285F
monochromatic
#121609 #2B3416 #4E5F28 #718A3A #94B44D

Accessibility & contrast

On white

7.02
#4E5F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E5F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F28
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F28#FFFFFF#000000##FFFFFF
##4E5F281.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645923
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#515B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f28;
/* rgb */ color: rgb(78, 95, 40);
/* oklch */ color: oklch(45.8% 0.082 123.9);
Tailwind
colors: {
  custom: {
    50: '#818c64',
    500: '#4e5f28',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f28;
$custom-light: #818c64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f28",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 78.545,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.08205,
    "h": 123.9
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#4E5F28
secondary
#655192
accent
#57D17D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E5F28

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

Preview Lab → · Contrast checker → · Palette generator →

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