#4E6522#4E6522

#4E6522 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.3% C 0.097 H 126.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E6522
RGBrgb(78, 101, 34)
HSLhsl(81, 50%, 26%)
HSVhsv(81, 66%, 40%)
CMYKcmyk(22.8%, 0%, 66.3%, 60.4%)
CIE-LABlab(39.65, -19.99, 34.11)
CIE-LCHlch(39.65, 39.54, 120.37°)
OKLaboklab(47.29% -0.057 0.0784)
OKLCHoklch(47.29% 0.097 126)
XYZxyz(8.0843, 11.0424, 3.2186)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6522 #392265
analogous
#655B22 #4E6522 #2D6522
triadic
#4E6522 #224E65 #65224E
tetradic
#4E6522 #22655B #392265 #65222D
square
#4E6522 #22655B #392265 #65222D
split-complementary
#4E6522 #222D65 #5B2265
monochromatic
#121708 #2B3713 #4E6522 #719331 #94BF42

Accessibility & contrast

On white

6.54
#4E6522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E6522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6522
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6522#FFFFFF#000000##FFFFFF
##4E65221.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#516057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6522;
/* rgb */ color: rgb(78, 101, 34);
/* oklch */ color: oklch(47.3% 0.097 126.0);
Tailwind
colors: {
  custom: {
    50: '#829160',
    500: '#4e6522',
    950: '#000000',
  },
}
SCSS
$custom: #4e6522;
$custom-light: #829160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6522",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 80.597,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.09693,
    "h": 126
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#4E6522
secondary
#654A99
accent
#4FD97E
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #4E6522

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

Preview Lab → · Contrast checker → · Palette generator →

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