#4E6231#4E6231

#4E6231 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.077 H 127.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E6231
RGBrgb(78, 98, 49)
HSLhsl(84, 33%, 29%)
HSVhsv(84, 50%, 38%)
CMYKcmyk(20.4%, 0%, 50%, 61.6%)
CIE-LABlab(38.86, -16.75, 25.32)
CIE-LCHlch(38.86, 30.36, 123.49°)
OKLaboklab(46.71% -0.0465 0.061)
OKLCHoklch(46.71% 0.077 127.4)
XYZxyz(8.0639, 10.5767, 4.5218)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6231 #453162
analogous
#625E31 #4E6231 #366231
triadic
#4E6231 #314E62 #62314E
tetradic
#4E6231 #31625E #453162 #623136
square
#4E6231 #31625E #453162 #623136
split-complementary
#4E6231 #313662 #5E3162
monochromatic
#10140A #2E391D #4E6231 #6E8B45 #8EAF5F

Accessibility & contrast

On white

6.74
#4E6231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E6231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6231
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6231#FFFFFF#000000##FFFFFF
##4E62311.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2D
Deuteranopia (green-blind)
#645B34
Tritanopia (blue-blind)
#505E56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6231;
/* rgb */ color: rgb(78, 98, 49);
/* oklch */ color: oklch(46.7% 0.077 127.4);
Tailwind
colors: {
  custom: {
    50: '#818e6a',
    500: '#4e6231',
    950: '#000000',
  },
}
SCSS
$custom: #4e6231;
$custom-light: #818e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6231",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 84.49,
    "s": 33.333,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4671,
    "c": 0.07669,
    "h": 127.4
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#4E6231
secondary
#725C93
accent
#5EC98A
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E6231

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

Preview Lab → · Contrast checker → · Palette generator →

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