#4A8A18#4A8A18

#4A8A18 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.156 H 135.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4A8A18
RGBrgb(74, 138, 24)
HSLhsl(94, 70%, 32%)
HSVhsv(94, 83%, 54%)
CMYKcmyk(46.4%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.49, -39.55, 49.72)
CIE-LCHlch(51.49, 63.53, 128.50°)
OKLaboklab(56.87% -0.1107 0.1097)
OKLCHoklch(56.87% 0.156 135.3)
XYZxyz(12.0771, 19.6980, 4.0297)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A18 #58188A
analogous
#838A18 #4A8A18 #188A1F
triadic
#4A8A18 #184A8A #8A184A
tetradic
#4A8A18 #18838A #58188A #8A1F18
square
#4A8A18 #18838A #58188A #8A1F18
split-complementary
#4A8A18 #1F188A #8A1883
monochromatic
#122206 #2E560F #4A8A18 #66BE21 #84DE3F

Accessibility & contrast

On white

4.25
#4A8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4A8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A18
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A18#FFFFFF#000000##000000
##4A8A181.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#488475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a18;
/* rgb */ color: rgb(74, 138, 24);
/* oklch */ color: oklch(56.9% 0.156 135.3);
Tailwind
colors: {
  custom: {
    50: '#83ad60',
    500: '#4a8a18',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a18;
$custom-light: #83ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a18",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 93.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.15585,
    "h": 135.3
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#4A8A18
secondary
#8740BD
accent
#3BED9F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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