#4E7D18#4E7D18

#4E7D18 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.137 H 132.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E7D18
RGBrgb(78, 125, 24)
HSLhsl(88, 68%, 29%)
HSVhsv(88, 81%, 49%)
CMYKcmyk(37.6%, 0%, 80.8%, 51%)
CIE-LABlab(47.43, -32.44, 46.02)
CIE-LCHlch(47.43, 56.31, 125.18°)
OKLaboklab(53.6% -0.0918 0.1019)
OKLCHoklch(53.6% 0.137 132)
XYZxyz(10.6403, 16.3524, 3.4597)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D18 #47187D
analogous
#7D7A18 #4E7D18 #1C7D18
triadic
#4E7D18 #184E7D #7D184E
tetradic
#4E7D18 #187D7A #47187D #7D181C
square
#4E7D18 #187D7A #47187D #7D181C
split-complementary
#4E7D18 #181C7D #7A187D
monochromatic
#101A05 #2E4A0E #4E7D18 #6EB022 #8DD937

Accessibility & contrast

On white

4.92
#4E7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D18#FFFFFF#000000##FFFFFF
##4E7D181.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#4F786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7d18;
/* rgb */ color: rgb(78, 125, 24);
/* oklch */ color: oklch(53.6% 0.137 132.0);
Tailwind
colors: {
  custom: {
    50: '#84a35e',
    500: '#4e7d18',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d18;
$custom-light: #84a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d18",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 87.921,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.13714,
    "h": 132
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#4E7D18
secondary
#743FB2
accent
#3DEB8E
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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