#4E7E18#4E7E18

#4E7E18 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.138 H 132.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E7E18
RGBrgb(78, 126, 24)
HSLhsl(88, 68%, 29%)
HSVhsv(88, 81%, 49%)
CMYKcmyk(38.1%, 0%, 81%, 50.6%)
CIE-LABlab(47.76, -32.90, 46.33)
CIE-LCHlch(47.76, 56.82, 125.38°)
OKLaboklab(53.86% -0.0931 0.1025)
OKLCHoklch(53.86% 0.138 132.2)
XYZxyz(10.7675, 16.6069, 3.5021)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E18 #48187E
analogous
#7E7B18 #4E7E18 #1B7E18
triadic
#4E7E18 #184E7E #7E184E
tetradic
#4E7E18 #187E7B #48187E #7E181B
square
#4E7E18 #187E7B #48187E #7E181B
split-complementary
#4E7E18 #181B7E #7B187E
monochromatic
#101A05 #2E4B0E #4E7E18 #6EB122 #8DD937

Accessibility & contrast

On white

4.86
#4E7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E18#FFFFFF#000000##FFFFFF
##4E7E181.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#4F796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e18;
/* rgb */ color: rgb(78, 126, 24);
/* oklch */ color: oklch(53.9% 0.138 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a45e',
    500: '#4e7e18',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e18;
$custom-light: #84a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e18",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 88.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.13844,
    "h": 132.2
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#4E7E18
secondary
#763FB2
accent
#3DEB8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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