#4B8A18#4B8A18

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

Color values

HEX#4B8A18
RGBrgb(75, 138, 24)
HSLhsl(93, 70%, 32%)
HSVhsv(93, 83%, 54%)
CMYKcmyk(45.7%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.54, -39.21, 49.78)
CIE-LCHlch(51.54, 63.37, 128.23°)
OKLaboklab(56.92% -0.1098 0.1098)
OKLCHoklch(56.92% 0.155 135)
XYZxyz(12.1547, 19.7380, 4.0333)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8A18 #57188A
analogous
#848A18 #4B8A18 #188A1E
triadic
#4B8A18 #184B8A #8A184B
tetradic
#4B8A18 #18848A #57188A #8A1E18
square
#4B8A18 #18848A #57188A #8A1E18
split-complementary
#4B8A18 #1E188A #8A1884
monochromatic
#122206 #2F560F #4B8A18 #67BE21 #86DE3F

Accessibility & contrast

On white

4.24
#4B8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4B8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8A18
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8A18#FFFFFF#000000##000000
##4B8A181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b8a18;
/* rgb */ color: rgb(75, 138, 24);
/* oklch */ color: oklch(56.9% 0.155 135.0);
Tailwind
colors: {
  custom: {
    50: '#84ad60',
    500: '#4b8a18',
    950: '#000000',
  },
}
SCSS
$custom: #4b8a18;
$custom-light: #84ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8a18",
  "rgb": {
    "r": 75,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 93.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.15532,
    "h": 135
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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