#4E6826#4E6826

#4E6826 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.098 H 127.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4E6826
RGBrgb(78, 104, 38)
HSLhsl(84, 46%, 28%)
HSVhsv(84, 63%, 41%)
CMYKcmyk(25%, 0%, 63.5%, 59.2%)
CIE-LABlab(40.67, -21.18, 33.28)
CIE-LCHlch(40.67, 39.45, 122.48°)
OKLaboklab(48.13% -0.0599 0.0772)
OKLCHoklch(48.13% 0.098 127.8)
XYZxyz(8.4420, 11.6601, 3.6392)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6826 #402668
analogous
#686126 #4E6826 #2D6826
triadic
#4E6826 #264E68 #68264E
tetradic
#4E6826 #266861 #402668 #68262D
square
#4E6826 #266861 #402668 #68262D
split-complementary
#4E6826 #262D68 #612668
monochromatic
#111608 #2C3B16 #4E6826 #709536 #90BD4B

Accessibility & contrast

On white

6.30
#4E6826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E6826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6826
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6826#FFFFFF#000000##FFFFFF
##4E68261.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611F
Deuteranopia (green-blind)
#6A5F2B
Tritanopia (blue-blind)
#51635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6826;
/* rgb */ color: rgb(78, 104, 38);
/* oklch */ color: oklch(48.1% 0.098 127.8);
Tailwind
colors: {
  custom: {
    50: '#829363',
    500: '#4e6826',
    950: '#000000',
  },
}
SCSS
$custom: #4e6826;
$custom-light: #829363;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6826",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 38
  },
  "hsl": {
    "h": 83.636,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.09769,
    "h": 127.8
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#4E6826
secondary
#6D4F9B
accent
#52D686
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6826

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

Preview Lab → · Contrast checker → · Palette generator →

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