#4B8C19#4B8C19

#4B8C19 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.157 H 135.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4B8C19
RGBrgb(75, 140, 25)
HSLhsl(94, 70%, 32%)
HSVhsv(94, 82%, 55%)
CMYKcmyk(46.4%, 0%, 82.1%, 45.1%)
CIE-LABlab(52.20, -40.00, 50.08)
CIE-LCHlch(52.20, 64.10, 128.61°)
OKLaboklab(57.46% -0.1119 0.1106)
OKLCHoklch(57.46% 0.157 135.3)
XYZxyz(12.4549, 20.3214, 4.1857)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8C19 #5A198C
analogous
#858C19 #4B8C19 #198C20
triadic
#4B8C19 #194B8C #8C194B
tetradic
#4B8C19 #19858C #5A198C #8C2019
square
#4B8C19 #19858C #5A198C #8C2019
split-complementary
#4B8C19 #20198C #8C1985
monochromatic
#132406 #2F5810 #4B8C19 #67C022 #86DD42

Accessibility & contrast

On white

4.15
#4B8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4B8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8C19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8C19#FFFFFF#000000##000000
##4B8C191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#498677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b8c19;
/* rgb */ color: rgb(75, 140, 25);
/* oklch */ color: oklch(57.5% 0.157 135.3);
Tailwind
colors: {
  custom: {
    50: '#84ae61',
    500: '#4b8c19',
    950: '#000000',
  },
}
SCSS
$custom: #4b8c19;
$custom-light: #84ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8c19",
  "rgb": {
    "r": 75,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 93.913,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.15733,
    "h": 135.3
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#4B8C19
secondary
#8843BE
accent
#3BED9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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