#4E6615#4E6615

#4E6615 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.108 H 125.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4E6615
RGBrgb(78, 102, 21)
HSLhsl(78, 66%, 24%)
HSVhsv(78, 79%, 40%)
CMYKcmyk(23.5%, 0%, 79.4%, 60%)
CIE-LABlab(39.88, -21.46, 39.92)
CIE-LCHlch(39.88, 45.33, 118.26°)
OKLaboklab(47.44% -0.0623 0.0885)
OKLCHoklch(47.44% 0.108 125.1)
XYZxyz(8.0287, 11.1765, 2.4436)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6615 #2D1566
analogous
#665615 #4E6615 #266615
triadic
#4E6615 #154E66 #66154E
tetradic
#4E6615 #156656 #2D1566 #661526
square
#4E6615 #156656 #2D1566 #661526
split-complementary
#4E6615 #152666 #561566
monochromatic
#131905 #27330B #4E6615 #75991F #9CCC2A

Accessibility & contrast

On white

6.49
#4E6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6615
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6615#FFFFFF#000000##FFFFFF
##4E66151.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#526157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6615;
/* rgb */ color: rgb(78, 102, 21);
/* oklch */ color: oklch(47.4% 0.108 125.1);
Tailwind
colors: {
  custom: {
    50: '#829159',
    500: '#4e6615',
    950: '#000000',
  },
}
SCSS
$custom: #4e6615;
$custom-light: #829159;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6615",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 77.778,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.10823,
    "h": 125.1
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#4E6615
secondary
#573A9D
accent
#3FE971
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6615

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

Preview Lab → · Contrast checker → · Palette generator →

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