#4E6B28#4E6B28

#4E6B28 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 48.9% C 0.100 H 129.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4E6B28
RGBrgb(78, 107, 40)
HSLhsl(86, 46%, 29%)
HSVhsv(86, 63%, 42%)
CMYKcmyk(27.1%, 0%, 62.6%, 58%)
CIE-LABlab(41.67, -22.53, 33.41)
CIE-LCHlch(41.67, 40.30, 124.00°)
OKLaboklab(48.95% -0.0634 0.0777)
OKLCHoklch(48.95% 0.1 129.2)
XYZxyz(8.7825, 12.2881, 3.9162)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6B28 #45286B
analogous
#6B6728 #4E6B28 #2D6B28
triadic
#4E6B28 #284E6B #6B284E
tetradic
#4E6B28 #286B67 #45286B #6B282D
square
#4E6B28 #286B67 #45286B #6B282D
split-complementary
#4E6B28 #282D6B #67286B
monochromatic
#101608 #2E3E17 #4E6B28 #6E9839 #8EBE50

Accessibility & contrast

On white

6.07
#4E6B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E6B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6B28
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6B28#FFFFFF#000000##FFFFFF
##4E6B281.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706421
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#50665D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e6b28;
/* rgb */ color: rgb(78, 107, 40);
/* oklch */ color: oklch(48.9% 0.100 129.2);
Tailwind
colors: {
  custom: {
    50: '#829565',
    500: '#4e6b28',
    950: '#000000',
  },
}
SCSS
$custom: #4e6b28;
$custom-light: #829565;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6b28",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 85.97,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.1003,
    "h": 129.2
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#4E6B28
secondary
#72519D
accent
#53D58B
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6B28

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

Preview Lab → · Contrast checker → · Palette generator →

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