#4E5A28#4E5A28

#4E5A28 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.5% C 0.074 H 120.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5A28
RGBrgb(78, 90, 40)
HSLhsl(74, 38%, 25%)
HSVhsv(74, 56%, 35%)
CMYKcmyk(13.3%, 0%, 55.6%, 64.7%)
CIE-LABlab(36.15, -13.40, 27.04)
CIE-LCHlch(36.15, 30.18, 116.36°)
OKLaboklab(44.49% -0.038 0.064)
OKLCHoklch(44.49% 0.074 120.7)
XYZxyz(7.1811, 9.0852, 3.3824)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A28 #34285A
analogous
#5A4D28 #4E5A28 #355A28
triadic
#4E5A28 #284E5A #5A284E
tetradic
#4E5A28 #285A4D #34285A #5A2835
square
#4E5A28 #285A4D #34285A #5A2835
split-complementary
#4E5A28 #28355A #4D285A
monochromatic
#121509 #293015 #4E5A28 #73843B #97AF4E

Accessibility & contrast

On white

7.45
#4E5A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E5A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A28
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A28#FFFFFF#000000##FFFFFF
##4E5A281.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#5E552B
Tritanopia (blue-blind)
#52564F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5a28;
/* rgb */ color: rgb(78, 90, 40);
/* oklch */ color: oklch(44.5% 0.074 120.7);
Tailwind
colors: {
  custom: {
    50: '#818863',
    500: '#4e5a28',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a28;
$custom-light: #818863;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a28",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 74.4,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.07439,
    "h": 120.7
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#4E5A28
secondary
#5F518D
accent
#59CE75
background
#F7F8F6
surface
#EEEFEB
border
#C9CAC6
text
#0A0B05
muted
#7C7C7A

Preview Lab

Preview with #4E5A28

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

Preview Lab → · Contrast checker → · Palette generator →

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