#4A8B18#4A8B18

#4A8B18 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.1% C 0.157 H 135.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A8B18
RGBrgb(74, 139, 24)
HSLhsl(94, 71%, 32%)
HSVhsv(94, 83%, 55%)
CMYKcmyk(46.8%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.82, -39.97, 50.02)
CIE-LCHlch(51.82, 64.03, 128.63°)
OKLaboklab(57.14% -0.1118 0.1103)
OKLCHoklch(57.14% 0.157 135.4)
XYZxyz(12.2212, 19.9863, 4.0777)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8B18 #59188B
analogous
#848B18 #4A8B18 #188B20
triadic
#4A8B18 #184A8B #8B184A
tetradic
#4A8B18 #18848B #59188B #8B2018
square
#4A8B18 #18848B #59188B #8B2018
split-complementary
#4A8B18 #20188B #8B1884
monochromatic
#122306 #2E570F #4A8B18 #66BF21 #84DE3F

Accessibility & contrast

On white

4.20
#4A8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4A8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8B18
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8B18#FFFFFF#000000##000000
##4A8B181.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#488576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a8b18;
/* rgb */ color: rgb(74, 139, 24);
/* oklch */ color: oklch(57.1% 0.157 135.4);
Tailwind
colors: {
  custom: {
    50: '#83ad60',
    500: '#4a8b18',
    950: '#000000',
  },
}
SCSS
$custom: #4a8b18;
$custom-light: #83ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8b18",
  "rgb": {
    "r": 74,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 93.913,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.15709,
    "h": 135.4
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#4A8B18
secondary
#8840BE
accent
#3AEDA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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