#4A8918#4A8918

#4A8918 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.155 H 135.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4A8918
RGBrgb(74, 137, 24)
HSLhsl(93, 70%, 32%)
HSVhsv(93, 82%, 54%)
CMYKcmyk(46%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.17, -39.14, 49.42)
CIE-LCHlch(51.17, 63.04, 128.38°)
OKLaboklab(56.6% -0.1096 0.1091)
OKLCHoklch(56.6% 0.155 135.1)
XYZxyz(11.9343, 19.4124, 3.9821)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8918 #571889
analogous
#838918 #4A8918 #18891E
triadic
#4A8918 #184A89 #89184A
tetradic
#4A8918 #188389 #571889 #891E18
square
#4A8918 #188389 #571889 #891E18
split-complementary
#4A8918 #1E1889 #891883
monochromatic
#122106 #2E550F #4A8918 #66BD21 #85DD3E

Accessibility & contrast

On white

4.30
#4A8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4A8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8918
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8918#FFFFFF#000000##000000
##4A89181.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#488374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a8918;
/* rgb */ color: rgb(74, 137, 24);
/* oklch */ color: oklch(56.6% 0.155 135.1);
Tailwind
colors: {
  custom: {
    50: '#83ac60',
    500: '#4a8918',
    950: '#000000',
  },
}
SCSS
$custom: #4a8918;
$custom-light: #83ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8918",
  "rgb": {
    "r": 74,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 93.451,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.1546,
    "h": 135.1
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#4A8918
secondary
#8640BD
accent
#3BED9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8918

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

Preview Lab → · Contrast checker → · Palette generator →

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