#4E6926#4E6926

#4E6926 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.099 H 128.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E6926
RGBrgb(78, 105, 38)
HSLhsl(84, 47%, 28%)
HSVhsv(84, 64%, 41%)
CMYKcmyk(25.7%, 0%, 63.8%, 58.8%)
CIE-LABlab(41.00, -21.70, 33.65)
CIE-LCHlch(41.00, 40.04, 122.82°)
OKLaboklab(48.39% -0.0613 0.078)
OKLCHoklch(48.39% 0.099 128.2)
XYZxyz(8.5433, 11.8626, 3.6730)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6926 #412669
analogous
#696226 #4E6926 #2C6926
triadic
#4E6926 #264E69 #69264E
tetradic
#4E6926 #266962 #412669 #69262C
square
#4E6926 #266962 #412669 #69262C
split-complementary
#4E6926 #262C69 #622669
monochromatic
#111608 #2D3C16 #4E6926 #6F9636 #90BE4B

Accessibility & contrast

On white

6.23
#4E6926 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E6926 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6926
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6926#FFFFFF#000000##FFFFFF
##4E69261.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621E
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#51645B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6926;
/* rgb */ color: rgb(78, 105, 38);
/* oklch */ color: oklch(48.4% 0.099 128.2);
Tailwind
colors: {
  custom: {
    50: '#829463',
    500: '#4e6926',
    950: '#000000',
  },
}
SCSS
$custom: #4e6926;
$custom-light: #829463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6926",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 38
  },
  "hsl": {
    "h": 84.179,
    "s": 46.853,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.09918,
    "h": 128.2
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#4E6926
secondary
#6E4F9C
accent
#51D687
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6926

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

Preview Lab → · Contrast checker → · Palette generator →

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