#4E5826#4E5826

#4E5826 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.9% C 0.074 H 118.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4E5826
RGBrgb(78, 88, 38)
HSLhsl(72, 40%, 25%)
HSVhsv(72, 57%, 35%)
CMYKcmyk(11.4%, 0%, 56.8%, 65.5%)
CIE-LABlab(35.48, -12.49, 27.34)
CIE-LCHlch(35.48, 30.06, 114.54°)
OKLaboklab(43.94% -0.0356 0.0644)
OKLCHoklch(43.94% 0.074 118.9)
XYZxyz(6.9815, 8.7391, 3.1524)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5826 #302658
analogous
#584926 #4E5826 #355826
triadic
#4E5826 #264E58 #58264E
tetradic
#4E5826 #265849 #302658 #582635
square
#4E5826 #265849 #302658 #582635
split-complementary
#4E5826 #263558 #492658
monochromatic
#131509 #282D14 #4E5826 #748338 #9AAD4B

Accessibility & contrast

On white

7.64
#4E5826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E5826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5826
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5826#FFFFFF#000000##FFFFFF
##4E58261.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5321
Deuteranopia (green-blind)
#5C5429
Tritanopia (blue-blind)
#52544D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5826;
/* rgb */ color: rgb(78, 88, 38);
/* oklch */ color: oklch(43.9% 0.074 118.9);
Tailwind
colors: {
  custom: {
    50: '#818762',
    500: '#4e5826',
    950: '#000000',
  },
}
SCSS
$custom: #4e5826;
$custom-light: #818762;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5826",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 38
  },
  "hsl": {
    "h": 72,
    "s": 39.683,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.07361,
    "h": 118.9
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#4E5826
secondary
#5B4F8B
accent
#58D070
background
#F7F8F5
surface
#EEEFEA
border
#C9CAC6
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4E5826

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

Preview Lab → · Contrast checker → · Palette generator →

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