#4E6028#4E6028

#4E6028 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.1% C 0.084 H 124.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4E6028
RGBrgb(78, 96, 40)
HSLhsl(79, 41%, 27%)
HSVhsv(79, 58%, 38%)
CMYKcmyk(18.7%, 0%, 58.3%, 62.4%)
CIE-LABlab(38.09, -16.73, 29.32)
CIE-LCHlch(38.09, 33.75, 119.70°)
OKLaboklab(46.05% -0.0473 0.0689)
OKLCHoklch(46.05% 0.084 124.4)
XYZxyz(7.7078, 10.1386, 3.5579)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6028 #3A2860
analogous
#605628 #4E6028 #326028
triadic
#4E6028 #284E60 #60284E
tetradic
#4E6028 #286056 #3A2860 #602832
square
#4E6028 #286056 #3A2860 #602832
split-complementary
#4E6028 #283260 #562860
monochromatic
#121609 #2B3516 #4E6028 #718B3A #94B54D

Accessibility & contrast

On white

6.94
#4E6028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E6028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6028
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6028#FFFFFF#000000##FFFFFF
##4E60281.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#63592C
Tritanopia (blue-blind)
#515C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e6028;
/* rgb */ color: rgb(78, 96, 40);
/* oklch */ color: oklch(46.1% 0.084 124.4);
Tailwind
colors: {
  custom: {
    50: '#818d64',
    500: '#4e6028',
    950: '#000000',
  },
}
SCSS
$custom: #4e6028;
$custom-light: #818d64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6028",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 79.286,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.08357,
    "h": 124.4
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#4E6028
secondary
#665193
accent
#57D17E
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E6028

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

Preview Lab → · Contrast checker → · Palette generator →

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