#4E6626#4E6626

#4E6626 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.095 H 127.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E6626
RGBrgb(78, 102, 38)
HSLhsl(83, 46%, 27%)
HSVhsv(83, 63%, 40%)
CMYKcmyk(23.5%, 0%, 62.7%, 60%)
CIE-LABlab(40.02, -20.14, 32.55)
CIE-LCHlch(40.02, 38.28, 121.74°)
OKLaboklab(47.6% -0.057 0.0756)
OKLCHoklch(47.6% 0.095 127)
XYZxyz(8.2431, 11.2623, 3.5729)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6626 #3E2666
analogous
#665E26 #4E6626 #2E6626
triadic
#4E6626 #264E66 #66264E
tetradic
#4E6626 #26665E #3E2666 #66262E
square
#4E6626 #26665E #3E2666 #66262E
split-complementary
#4E6626 #262E66 #5E2666
monochromatic
#111608 #2C3915 #4E6626 #709337 #91BC4B

Accessibility & contrast

On white

6.46
#4E6626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6626
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6626#FFFFFF#000000##FFFFFF
##4E66261.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e6626;
/* rgb */ color: rgb(78, 102, 38);
/* oklch */ color: oklch(47.6% 0.095 127.0);
Tailwind
colors: {
  custom: {
    50: '#819163',
    500: '#4e6626',
    950: '#000000',
  },
}
SCSS
$custom: #4e6626;
$custom-light: #819163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6626",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 38
  },
  "hsl": {
    "h": 82.5,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.09469,
    "h": 127
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#4E6626
secondary
#6B4F99
accent
#52D584
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0D05
muted
#7C7D7A

Preview Lab

Preview with #4E6626

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

Preview Lab → · Contrast checker → · Palette generator →

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