#4E6217#4E6217

#4E6217 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.101 H 123.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4E6217
RGBrgb(78, 98, 23)
HSLhsl(76, 62%, 24%)
HSVhsv(76, 77%, 38%)
CMYKcmyk(20.4%, 0%, 76.5%, 61.6%)
CIE-LABlab(38.58, -19.25, 37.89)
CIE-LCHlch(38.58, 42.50, 116.93°)
OKLaboklab(46.4% -0.056 0.0846)
OKLCHoklch(46.4% 0.101 123.5)
XYZxyz(7.6643, 10.4169, 2.4173)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6217 #2B1762
analogous
#625017 #4E6217 #286217
triadic
#4E6217 #174E62 #62174E
tetradic
#4E6217 #176250 #2B1762 #621728
square
#4E6217 #176250 #2B1762 #621728
split-complementary
#4E6217 #172862 #501762
monochromatic
#141906 #27300B #4E6217 #759423 #9DC52E

Accessibility & contrast

On white

6.81
#4E6217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6217
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6217#FFFFFF#000000##FFFFFF
##4E62171.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6217;
/* rgb */ color: rgb(78, 98, 23);
/* oklch */ color: oklch(46.4% 0.101 123.5);
Tailwind
colors: {
  custom: {
    50: '#828e5a',
    500: '#4e6217',
    950: '#000000',
  },
}
SCSS
$custom: #4e6217;
$custom-light: #828e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6217",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 76,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.10148,
    "h": 123.5
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#4E6217
secondary
#553C99
accent
#43E56E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6217

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

Preview Lab → · Contrast checker → · Palette generator →

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