#4E7C18#4E7C18

#4E7C18 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.136 H 131.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7C18
RGBrgb(78, 124, 24)
HSLhsl(88, 68%, 29%)
HSVhsv(88, 81%, 49%)
CMYKcmyk(37.1%, 0%, 80.6%, 51.4%)
CIE-LABlab(47.11, -31.99, 45.71)
CIE-LCHlch(47.11, 55.79, 124.98°)
OKLaboklab(53.33% -0.0906 0.1012)
OKLCHoklch(53.33% 0.136 131.8)
XYZxyz(10.5143, 16.1005, 3.4177)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C18 #46187C
analogous
#7C7818 #4E7C18 #1C7C18
triadic
#4E7C18 #184E7C #7C184E
tetradic
#4E7C18 #187C78 #46187C #7C181C
square
#4E7C18 #187C78 #46187C #7C181C
split-complementary
#4E7C18 #181C7C #78187C
monochromatic
#101A05 #2E490E #4E7C18 #6EAF22 #8ED836

Accessibility & contrast

On white

4.98
#4E7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C18#FFFFFF#000000##FFFFFF
##4E7C181.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#4F7769
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c18;
/* rgb */ color: rgb(78, 124, 24);
/* oklch */ color: oklch(53.3% 0.136 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a25e',
    500: '#4e7c18',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c18;
$custom-light: #84a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c18",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 87.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.13584,
    "h": 131.8
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#4E7C18
secondary
#733FB1
accent
#3DEA8D
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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