#4E6239#4E6239

#4E6239 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.9% C 0.067 H 129.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4E6239
RGBrgb(78, 98, 57)
HSLhsl(89, 26%, 30%)
HSVhsv(89, 42%, 38%)
CMYKcmyk(20.4%, 0%, 41.8%, 61.6%)
CIE-LABlab(38.99, -15.64, 20.91)
CIE-LCHlch(38.99, 26.11, 126.80°)
OKLaboklab(46.85% -0.0429 0.0514)
OKLCHoklch(46.85% 0.067 129.8)
XYZxyz(8.2480, 10.6503, 5.4913)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6239 #4D3962
analogous
#626139 #4E6239 #396239
triadic
#4E6239 #394E62 #62394E
tetradic
#4E6239 #396261 #4D3962 #623939
square
#4E6239 #396261 #4D3962 #623939
split-complementary
#4E6239 #393962 #613962
monochromatic
#10150C #2F3B22 #4E6239 #6D8950 #8BA96C

Accessibility & contrast

On white

6.71
#4E6239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E6239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6239
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6239#FFFFFF#000000##FFFFFF
##4E62391.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D36
Deuteranopia (green-blind)
#635B3B
Tritanopia (blue-blind)
#4F5F58
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e6239;
/* rgb */ color: rgb(78, 98, 57);
/* oklch */ color: oklch(46.9% 0.067 129.8);
Tailwind
colors: {
  custom: {
    50: '#808e70',
    500: '#4e6239',
    950: '#000000',
  },
}
SCSS
$custom: #4e6239;
$custom-light: #808e70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6239",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 89.268,
    "s": 26.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.06695,
    "h": 129.8
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#4E6239
secondary
#7B6592
accent
#65C393
background
#F7F8F6
surface
#EEF0EC
border
#C9CBC7
text
#0A0C07
muted
#7C7D7A

Preview Lab

Preview with #4E6239

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

Preview Lab → · Contrast checker → · Palette generator →

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