#4B8E18#4B8E18

#4B8E18 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.160 H 135.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4B8E18
RGBrgb(75, 142, 24)
HSLhsl(94, 71%, 33%)
HSVhsv(94, 83%, 56%)
CMYKcmyk(47.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.85, -40.88, 50.98)
CIE-LCHlch(52.85, 65.34, 128.72°)
OKLaboklab(57.99% -0.1143 0.1123)
OKLCHoklch(57.99% 0.16 135.5)
XYZxyz(12.7392, 20.9070, 4.2282)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8E18 #5B188E
analogous
#868E18 #4B8E18 #188E20
triadic
#4B8E18 #184B8E #8E184B
tetradic
#4B8E18 #18868E #5B188E #8E2018
square
#4B8E18 #18868E #5B188E #8E2018
split-complementary
#4B8E18 #20188E #8E1886
monochromatic
#142506 #2F5A0F #4B8E18 #67C221 #86DF41

Accessibility & contrast

On white

4.05
#4B8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4B8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8E18
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8E18#FFFFFF#000000##000000
##4B8E181.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4b8e18;
/* rgb */ color: rgb(75, 142, 24);
/* oklch */ color: oklch(58.0% 0.160 135.5);
Tailwind
colors: {
  custom: {
    50: '#84af61',
    500: '#4b8e18',
    950: '#000000',
  },
}
SCSS
$custom: #4b8e18;
$custom-light: #84af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8e18",
  "rgb": {
    "r": 75,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 94.068,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.16026,
    "h": 135.5
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#4B8E18
secondary
#8942C0
accent
#3AEEA0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4B8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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