#4E6928#4E6928

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

Color values

HEX#4E6928
RGBrgb(78, 105, 40)
HSLhsl(85, 45%, 28%)
HSVhsv(85, 62%, 41%)
CMYKcmyk(25.7%, 0%, 61.9%, 58.8%)
CIE-LABlab(41.02, -21.50, 32.68)
CIE-LCHlch(41.02, 39.12, 123.35°)
OKLaboklab(48.42% -0.0606 0.0762)
OKLCHoklch(48.42% 0.097 128.5)
XYZxyz(8.5764, 11.8759, 3.8475)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6928 #432869
analogous
#696328 #4E6928 #2D6928
triadic
#4E6928 #284E69 #69284E
tetradic
#4E6928 #286963 #432869 #69282D
square
#4E6928 #286963 #432869 #69282D
split-complementary
#4E6928 #282D69 #632869
monochromatic
#101608 #2D3D17 #4E6928 #6F9539 #8FBC4F

Accessibility & contrast

On white

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

On black

3.38
#4E6928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E6928#FFFFFF#000000##FFFFFF
##4E69281.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e6928;
/* rgb */ color: rgb(78, 105, 40);
/* oklch */ color: oklch(48.4% 0.097 128.5);
Tailwind
colors: {
  custom: {
    50: '#829465',
    500: '#4e6928',
    950: '#000000',
  },
}
SCSS
$custom: #4e6928;
$custom-light: #829465;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6928",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 40
  },
  "hsl": {
    "h": 84.923,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.0973,
    "h": 128.5
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#4E6928
secondary
#70519C
accent
#53D589
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6928

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

Preview Lab → · Contrast checker → · Palette generator →

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