#4A8E18#4A8E18

#4A8E18 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.161 H 135.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A8E18
RGBrgb(74, 142, 24)
HSLhsl(95, 71%, 33%)
HSVhsv(95, 83%, 56%)
CMYKcmyk(47.9%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.80, -41.21, 50.92)
CIE-LCHlch(52.80, 65.50, 128.98°)
OKLaboklab(57.95% -0.1151 0.1122)
OKLCHoklch(57.95% 0.161 135.7)
XYZxyz(12.6616, 20.8670, 4.2245)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E18 #5C188E
analogous
#858E18 #4A8E18 #188E21
triadic
#4A8E18 #184A8E #8E184A
tetradic
#4A8E18 #18858E #5C188E #8E2118
square
#4A8E18 #18858E #5C188E #8E2118
split-complementary
#4A8E18 #21188E #8E1885
monochromatic
#132506 #2F5A0F #4A8E18 #65C221 #84DF41

Accessibility & contrast

On white

4.06
#4A8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8E18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8E18#FFFFFF#000000##000000
##4A8E181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#478879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e18;
/* rgb */ color: rgb(74, 142, 24);
/* oklch */ color: oklch(57.9% 0.161 135.7);
Tailwind
colors: {
  custom: {
    50: '#84b061',
    500: '#4a8e18',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e18;
$custom-light: #84b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e18",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 94.576,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.16078,
    "h": 135.7
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#4A8E18
secondary
#8A42C0
accent
#3AEEA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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