#4E6927#4E6927

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

Color values

HEX#4E6927
RGBrgb(78, 105, 39)
HSLhsl(85, 46%, 28%)
HSVhsv(85, 63%, 41%)
CMYKcmyk(25.7%, 0%, 62.9%, 58.8%)
CIE-LABlab(41.01, -21.60, 33.17)
CIE-LCHlch(41.01, 39.58, 123.08°)
OKLaboklab(48.41% -0.0609 0.0771)
OKLCHoklch(48.41% 0.098 128.3)
XYZxyz(8.5596, 11.8692, 3.7591)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6927 #422769
analogous
#696327 #4E6927 #2D6927
triadic
#4E6927 #274E69 #69274E
tetradic
#4E6927 #276963 #422769 #69272D
square
#4E6927 #276963 #422769 #69272D
split-complementary
#4E6927 #272D69 #632769
monochromatic
#111608 #2D3C16 #4E6927 #6F9638 #8FBD4D

Accessibility & contrast

On white

6.22
#4E6927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6927
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6927#FFFFFF#000000##FFFFFF
##4E69271.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6220
Deuteranopia (green-blind)
#6A602C
Tritanopia (blue-blind)
#50645B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6927;
/* rgb */ color: rgb(78, 105, 39);
/* oklch */ color: oklch(48.4% 0.098 128.3);
Tailwind
colors: {
  custom: {
    50: '#829464',
    500: '#4e6927',
    950: '#000000',
  },
}
SCSS
$custom: #4e6927;
$custom-light: #829464;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6927",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 39
  },
  "hsl": {
    "h": 84.545,
    "s": 45.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.09825,
    "h": 128.3
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#4E6927
secondary
#6F509C
accent
#52D588
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6927

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

Preview Lab → · Contrast checker → · Palette generator →

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