#4E6331#4E6331

#4E6331 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.078 H 127.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4E6331
RGBrgb(78, 99, 49)
HSLhsl(85, 34%, 29%)
HSVhsv(85, 51%, 39%)
CMYKcmyk(21.2%, 0%, 50.5%, 61.2%)
CIE-LABlab(39.18, -17.30, 25.72)
CIE-LCHlch(39.18, 31.00, 123.92°)
OKLaboklab(46.97% -0.048 0.0618)
OKLCHoklch(46.97% 0.078 127.8)
XYZxyz(8.1580, 10.7650, 4.5532)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6331 #463163
analogous
#635F31 #4E6331 #356331
triadic
#4E6331 #314E63 #63314E
tetradic
#4E6331 #31635F #463163 #633135
square
#4E6331 #31635F #463163 #633135
split-complementary
#4E6331 #313563 #5F3163
monochromatic
#10140A #2E3A1D #4E6331 #6E8C45 #8EB05F

Accessibility & contrast

On white

6.66
#4E6331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E6331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6331
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6331#FFFFFF#000000##FFFFFF
##4E63311.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2D
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#505F57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e6331;
/* rgb */ color: rgb(78, 99, 49);
/* oklch */ color: oklch(47.0% 0.078 127.8);
Tailwind
colors: {
  custom: {
    50: '#818f6a',
    500: '#4e6331',
    950: '#000000',
  },
}
SCSS
$custom: #4e6331;
$custom-light: #818f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6331",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 85.2,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.07831,
    "h": 127.8
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#4E6331
secondary
#735C94
accent
#5ECA8B
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E6331

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

Preview Lab → · Contrast checker → · Palette generator →

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