#4E5628#4E5628

#4E5628 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.5% C 0.068 H 117.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E5628
RGBrgb(78, 86, 40)
HSLhsl(70, 37%, 25%)
HSVhsv(70, 53%, 34%)
CMYKcmyk(9.3%, 0%, 53.5%, 66.3%)
CIE-LABlab(34.86, -11.12, 25.50)
CIE-LCHlch(34.86, 27.82, 113.56°)
OKLaboklab(43.46% -0.0315 0.0606)
OKLCHoklch(43.46% 0.068 117.5)
XYZxyz(6.8528, 8.4285, 3.2729)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5628 #302856
analogous
#564728 #4E5628 #375628
triadic
#4E5628 #284E56 #56284E
tetradic
#4E5628 #285647 #302856 #562837
square
#4E5628 #285647 #302856 #562837
split-complementary
#4E5628 #283756 #472856
monochromatic
#13150A #282C15 #4E5628 #74803B #9AAA4F

Accessibility & contrast

On white

7.82
#4E5628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E5628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5628
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5628#FFFFFF#000000##FFFFFF
##4E56281.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#52524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5628;
/* rgb */ color: rgb(78, 86, 40);
/* oklch */ color: oklch(43.5% 0.068 117.5);
Tailwind
colors: {
  custom: {
    50: '#818563',
    500: '#4e5628',
    950: '#000000',
  },
}
SCSS
$custom: #4e5628;
$custom-light: #818563;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5628",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 70.435,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.06833,
    "h": 117.5
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#4E5628
secondary
#5B5189
accent
#5BCD6F
background
#F7F8F5
surface
#EEEFEA
border
#C9CAC6
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4E5628

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

Preview Lab → · Contrast checker → · Palette generator →

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