#4E6622#4E6622

#4E6622 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.6% C 0.098 H 126.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4E6622
RGBrgb(78, 102, 34)
HSLhsl(81, 50%, 27%)
HSVhsv(81, 67%, 40%)
CMYKcmyk(23.5%, 0%, 66.7%, 60%)
CIE-LABlab(39.98, -20.51, 34.47)
CIE-LCHlch(39.98, 40.11, 120.76°)
OKLaboklab(47.56% -0.0584 0.0792)
OKLCHoklch(47.56% 0.098 126.4)
XYZxyz(8.1820, 11.2378, 3.2511)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6622 #3A2266
analogous
#665C22 #4E6622 #2C6622
triadic
#4E6622 #224E66 #66224E
tetradic
#4E6622 #22665C #3A2266 #66222C
square
#4E6622 #22665C #3A2266 #66222C
split-complementary
#4E6622 #222C66 #5C2266
monochromatic
#121708 #2B3813 #4E6622 #719431 #94C042

Accessibility & contrast

On white

6.47
#4E6622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E6622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6622
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6622#FFFFFF#000000##FFFFFF
##4E66221.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#516158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6622;
/* rgb */ color: rgb(78, 102, 34);
/* oklch */ color: oklch(47.6% 0.098 126.4);
Tailwind
colors: {
  custom: {
    50: '#829160',
    500: '#4e6622',
    950: '#000000',
  },
}
SCSS
$custom: #4e6622;
$custom-light: #829160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6622",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 81.176,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47556,
    "c": 0.09839,
    "h": 126.4
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#4E6622
secondary
#664A9A
accent
#4EDA7F
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #4E6622

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

Preview Lab → · Contrast checker → · Palette generator →

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