#4B8D18#4B8D18

#4B8D18 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.159 H 135.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4B8D18
RGBrgb(75, 141, 24)
HSLhsl(94, 71%, 32%)
HSVhsv(94, 83%, 55%)
CMYKcmyk(46.8%, 0%, 83%, 44.7%)
CIE-LABlab(52.52, -40.46, 50.68)
CIE-LCHlch(52.52, 64.85, 128.61°)
OKLaboklab(57.72% -0.1132 0.1117)
OKLCHoklch(57.72% 0.159 135.4)
XYZxyz(12.5911, 20.6108, 4.1788)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8D18 #5A188D
analogous
#868D18 #4B8D18 #188D1F
triadic
#4B8D18 #184B8D #8D184B
tetradic
#4B8D18 #18868D #5A188D #8D1F18
square
#4B8D18 #18868D #5A188D #8D1F18
split-complementary
#4B8D18 #1F188D #8D1886
monochromatic
#132406 #2F590F #4B8D18 #67C121 #86DF41

Accessibility & contrast

On white

4.10
#4B8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4B8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8D18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8D18#FFFFFF#000000##000000
##4B8D181.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#498778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b8d18;
/* rgb */ color: rgb(75, 141, 24);
/* oklch */ color: oklch(57.7% 0.159 135.4);
Tailwind
colors: {
  custom: {
    50: '#84af61',
    500: '#4b8d18',
    950: '#000000',
  },
}
SCSS
$custom: #4b8d18;
$custom-light: #84af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8d18",
  "rgb": {
    "r": 75,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 93.846,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.15903,
    "h": 135.4
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#4B8D18
secondary
#8842BF
accent
#3AEE9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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