#4B8918#4B8918

#4B8918 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.6% C 0.154 H 134.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4B8918
RGBrgb(75, 137, 24)
HSLhsl(93, 70%, 32%)
HSVhsv(93, 82%, 54%)
CMYKcmyk(45.3%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.21, -38.79, 49.48)
CIE-LCHlch(51.21, 62.87, 128.10°)
OKLaboklab(56.65% -0.1087 0.1092)
OKLCHoklch(56.65% 0.154 134.9)
XYZxyz(12.0119, 19.4524, 3.9857)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8918 #561889
analogous
#848918 #4B8918 #18891D
triadic
#4B8918 #184B89 #89184B
tetradic
#4B8918 #188489 #561889 #891D18
square
#4B8918 #188489 #561889 #891D18
split-complementary
#4B8918 #1D1889 #891884
monochromatic
#122106 #2E550F #4B8918 #68BD21 #86DD3E

Accessibility & contrast

On white

4.29
#4B8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4B8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8918
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8918#FFFFFF#000000##000000
##4B89181.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b8918;
/* rgb */ color: rgb(75, 137, 24);
/* oklch */ color: oklch(56.6% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#84ac60',
    500: '#4b8918',
    950: '#000000',
  },
}
SCSS
$custom: #4b8918;
$custom-light: #84ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8918",
  "rgb": {
    "r": 75,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 92.92,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5665,
    "c": 0.15408,
    "h": 134.9
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#4B8918
secondary
#8440BD
accent
#3BED9D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8918

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

Preview Lab → · Contrast checker → · Palette generator →

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