#4E6629#4E6629

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

Color values

HEX#4E6629
RGBrgb(78, 102, 41)
HSLhsl(84, 43%, 28%)
HSVhsv(84, 60%, 40%)
CMYKcmyk(23.5%, 0%, 59.8%, 60%)
CIE-LABlab(40.05, -19.83, 31.06)
CIE-LCHlch(40.05, 36.86, 122.56°)
OKLaboklab(47.64% -0.0558 0.0728)
OKLCHoklch(47.64% 0.092 127.5)
XYZxyz(8.2935, 11.2824, 3.8382)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6629 #412966
analogous
#665F29 #4E6629 #2F6629
triadic
#4E6629 #294E66 #66294E
tetradic
#4E6629 #29665F #412966 #66292F
square
#4E6629 #29665F #412966 #66292F
split-complementary
#4E6629 #292F66 #5F2966
monochromatic
#111609 #2D3A17 #4E6629 #6F923B #90B951

Accessibility & contrast

On white

6.45
#4E6629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E6629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6629
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6629#FFFFFF#000000##FFFFFF
##4E66291.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F23
Deuteranopia (green-blind)
#685E2D
Tritanopia (blue-blind)
#516259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6629;
/* rgb */ color: rgb(78, 102, 41);
/* oklch */ color: oklch(47.6% 0.092 127.5);
Tailwind
colors: {
  custom: {
    50: '#819165',
    500: '#4e6629',
    950: '#000000',
  },
}
SCSS
$custom: #4e6629;
$custom-light: #819165;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6629",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 41
  },
  "hsl": {
    "h": 83.607,
    "s": 42.657,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.09174,
    "h": 127.5
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#4E6629
secondary
#6E5298
accent
#55D287
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0D06
muted
#7C7D7A

Preview Lab

Preview with #4E6629

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

Preview Lab → · Contrast checker → · Palette generator →

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