#4E6825#4E6825

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

Color values

HEX#4E6825
RGBrgb(78, 104, 37)
HSLhsl(83, 48%, 28%)
HSVhsv(83, 64%, 41%)
CMYKcmyk(25%, 0%, 64.4%, 59.2%)
CIE-LABlab(40.66, -21.28, 33.77)
CIE-LCHlch(40.66, 39.91, 122.22°)
OKLaboklab(48.12% -0.0602 0.0781)
OKLCHoklch(48.12% 0.099 127.6)
XYZxyz(8.4261, 11.6537, 3.5554)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6825 #3F2568
analogous
#686125 #4E6825 #2C6825
triadic
#4E6825 #254E68 #68254E
tetradic
#4E6825 #256861 #3F2568 #68252C
square
#4E6825 #256861 #3F2568 #68252C
split-complementary
#4E6825 #252C68 #612568
monochromatic
#111708 #2C3B15 #4E6825 #709535 #91BE49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6825#FFFFFF#000000##FFFFFF
##4E68251.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)
#6D611D
Deuteranopia (green-blind)
#6A5F2A
Tritanopia (blue-blind)
#51635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6825;
/* rgb */ color: rgb(78, 104, 37);
/* oklch */ color: oklch(48.1% 0.099 127.6);
Tailwind
colors: {
  custom: {
    50: '#829363',
    500: '#4e6825',
    950: '#000000',
  },
}
SCSS
$custom: #4e6825;
$custom-light: #829363;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6825",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 37
  },
  "hsl": {
    "h": 83.284,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.09863,
    "h": 127.6
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#4E6825
secondary
#6C4E9B
accent
#51D785
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6825

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

Preview Lab → · Contrast checker → · Palette generator →

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