#4E6018#4E6018

#4E6018 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.098 H 122.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E6018
RGBrgb(78, 96, 24)
HSLhsl(75, 60%, 24%)
HSVhsv(75, 75%, 38%)
CMYKcmyk(18.7%, 0%, 75%, 62.4%)
CIE-LABlab(37.93, -18.12, 36.84)
CIE-LCHlch(37.93, 41.05, 116.18°)
OKLaboklab(45.88% -0.0528 0.0826)
OKLCHoklch(45.88% 0.098 122.6)
XYZxyz(7.4897, 10.0514, 2.4095)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6018 #2A1860
analogous
#604E18 #4E6018 #2A6018
triadic
#4E6018 #184E60 #60184E
tetradic
#4E6018 #18604E #2A1860 #60182A
square
#4E6018 #18604E #2A1860 #60182A
split-complementary
#4E6018 #182A60 #4E1860
monochromatic
#141806 #262F0C #4E6018 #769124 #9EC230

Accessibility & contrast

On white

6.98
#4E6018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E6018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6018
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6018#FFFFFF#000000##FFFFFF
##4E60181.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#525B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6018;
/* rgb */ color: rgb(78, 96, 24);
/* oklch */ color: oklch(45.9% 0.098 122.6);
Tailwind
colors: {
  custom: {
    50: '#828d5a',
    500: '#4e6018',
    950: '#000000',
  },
}
SCSS
$custom: #4e6018;
$custom-light: #828d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6018",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.09803,
    "h": 122.6
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#4E6018
secondary
#543D96
accent
#45E36C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6018

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

Preview Lab → · Contrast checker → · Palette generator →

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