#4B8B18#4B8B18

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

Color values

HEX#4B8B18
RGBrgb(75, 139, 24)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 55%)
CMYKcmyk(46%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.87, -39.63, 50.08)
CIE-LCHlch(51.87, 63.86, 128.36°)
OKLaboklab(57.19% -0.111 0.1104)
OKLCHoklch(57.19% 0.157 135.1)
XYZxyz(12.2989, 20.0263, 4.0814)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8B18 #58188B
analogous
#858B18 #4B8B18 #188B1E
triadic
#4B8B18 #184B8B #8B184B
tetradic
#4B8B18 #18858B #58188B #8B1E18
square
#4B8B18 #18858B #58188B #8B1E18
split-complementary
#4B8B18 #1E188B #8B1885
monochromatic
#132306 #2F570F #4B8B18 #67BF21 #86DE3F

Accessibility & contrast

On white

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

On black

5.01
#4B8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8B18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8B18#FFFFFF#000000##000000
##4B8B181.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b8b18;
/* rgb */ color: rgb(75, 139, 24);
/* oklch */ color: oklch(57.2% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#84ad60',
    500: '#4b8b18',
    950: '#000000',
  },
}
SCSS
$custom: #4b8b18;
$custom-light: #84ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8b18",
  "rgb": {
    "r": 75,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 93.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.15656,
    "h": 135.1
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#4B8B18
secondary
#8740BE
accent
#3AED9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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