#4E6722#4E6722

#4E6722 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.100 H 126.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4E6722
RGBrgb(78, 103, 34)
HSLhsl(82, 50%, 27%)
HSVhsv(82, 67%, 40%)
CMYKcmyk(24.3%, 0%, 67%, 59.6%)
CIE-LABlab(40.30, -21.03, 34.82)
CIE-LCHlch(40.30, 40.68, 121.14°)
OKLaboklab(47.82% -0.0598 0.0799)
OKLCHoklch(47.82% 0.1 126.8)
XYZxyz(8.2809, 11.4356, 3.2841)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6722 #3B2267
analogous
#675E22 #4E6722 #2C6722
triadic
#4E6722 #224E67 #67224E
tetradic
#4E6722 #22675E #3B2267 #67222C
square
#4E6722 #22675E #3B2267 #67222C
split-complementary
#4E6722 #222C67 #5E2267
monochromatic
#111708 #2B3913 #4E6722 #719531 #93C143

Accessibility & contrast

On white

6.39
#4E6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6722
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6722#FFFFFF#000000##FFFFFF
##4E67221.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#516259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6722;
/* rgb */ color: rgb(78, 103, 34);
/* oklch */ color: oklch(47.8% 0.100 126.8);
Tailwind
colors: {
  custom: {
    50: '#829261',
    500: '#4e6722',
    950: '#000000',
  },
}
SCSS
$custom: #4e6722;
$custom-light: #829261;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6722",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 81.739,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.09985,
    "h": 126.8
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#4E6722
secondary
#674A9B
accent
#4EDA81
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6722

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

Preview Lab → · Contrast checker → · Palette generator →

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