#4A8D18#4A8D18

#4A8D18 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.160 H 135.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4A8D18
RGBrgb(74, 141, 24)
HSLhsl(94, 71%, 32%)
HSVhsv(94, 83%, 55%)
CMYKcmyk(47.5%, 0%, 83%, 44.7%)
CIE-LABlab(52.48, -40.80, 50.62)
CIE-LCHlch(52.48, 65.01, 128.87°)
OKLaboklab(57.68% -0.114 0.1116)
OKLCHoklch(57.68% 0.16 135.6)
XYZxyz(12.5135, 20.5707, 4.1752)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8D18 #5B188D
analogous
#858D18 #4A8D18 #188D21
triadic
#4A8D18 #184A8D #8D184A
tetradic
#4A8D18 #18858D #5B188D #8D2118
square
#4A8D18 #18858D #5B188D #8D2118
split-complementary
#4A8D18 #21188D #8D1885
monochromatic
#132406 #2F590F #4A8D18 #65C121 #84DF41

Accessibility & contrast

On white

4.11
#4A8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8D18
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8D18#FFFFFF#000000##000000
##4A8D181.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#478778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a8d18;
/* rgb */ color: rgb(74, 141, 24);
/* oklch */ color: oklch(57.7% 0.160 135.6);
Tailwind
colors: {
  custom: {
    50: '#83af60',
    500: '#4a8d18',
    950: '#000000',
  },
}
SCSS
$custom: #4a8d18;
$custom-light: #83af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8d18",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 94.359,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.15955,
    "h": 135.6
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#4A8D18
secondary
#8A42BF
accent
#3AEEA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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