#4E6D28#4E6D28

#4E6D28 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.103 H 129.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4E6D28
RGBrgb(78, 109, 40)
HSLhsl(87, 46%, 29%)
HSVhsv(87, 63%, 43%)
CMYKcmyk(28.4%, 0%, 63.3%, 57.3%)
CIE-LABlab(42.32, -23.55, 34.15)
CIE-LCHlch(42.32, 41.48, 124.59°)
OKLaboklab(49.47% -0.0662 0.0793)
OKLCHoklch(49.47% 0.103 129.9)
XYZxyz(8.9935, 12.7100, 3.9865)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D28 #47286D
analogous
#6D6A28 #4E6D28 #2B6D28
triadic
#4E6D28 #284E6D #6D284E
tetradic
#4E6D28 #286D6A #47286D #6D282B
square
#4E6D28 #286D6A #47286D #6D282B
split-complementary
#4E6D28 #282B6D #6A286D
monochromatic
#101608 #2E4018 #4E6D28 #6E9A38 #8DBF50

Accessibility & contrast

On white

5.93
#4E6D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E6D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D28
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D28#FFFFFF#000000##FFFFFF
##4E6D281.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726520
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#50685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d28;
/* rgb */ color: rgb(78, 109, 40);
/* oklch */ color: oklch(49.5% 0.103 129.9);
Tailwind
colors: {
  custom: {
    50: '#829765',
    500: '#4e6d28',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d28;
$custom-light: #829765;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d28",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 40
  },
  "hsl": {
    "h": 86.957,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49474,
    "c": 0.10329,
    "h": 129.9
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#4E6D28
secondary
#74519F
accent
#52D68D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6D28

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

Preview Lab → · Contrast checker → · Palette generator →

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