#4C8B19#4C8B19

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

Color values

HEX#4C8B19
RGBrgb(76, 139, 25)
HSLhsl(93, 70%, 32%)
HSVhsv(93, 82%, 55%)
CMYKcmyk(45.3%, 0%, 82%, 45.5%)
CIE-LABlab(51.92, -39.24, 49.84)
CIE-LCHlch(51.92, 63.43, 128.21°)
OKLaboklab(57.24% -0.1099 0.1101)
OKLCHoklch(57.24% 0.156 135)
XYZxyz(12.3883, 20.0712, 4.1409)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B19 #58198B
analogous
#858B19 #4C8B19 #198B1F
triadic
#4C8B19 #194C8B #8B194C
tetradic
#4C8B19 #19858B #58198B #8B1F19
square
#4C8B19 #19858B #58198B #8B1F19
split-complementary
#4C8B19 #1F198B #8B1985
monochromatic
#132306 #305710 #4C8B19 #68BF22 #87DD41

Accessibility & contrast

On white

4.19
#4C8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8B19#FFFFFF#000000##000000
##4C8B191.004.195.015.01
#FFFFFF4.191.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)
#4A8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b19;
/* rgb */ color: rgb(76, 139, 25);
/* oklch */ color: oklch(57.2% 0.156 135.0);
Tailwind
colors: {
  custom: {
    50: '#84ad61',
    500: '#4c8b19',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b19;
$custom-light: #84ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b19",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 93.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.15556,
    "h": 135
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#4C8B19
secondary
#8642BE
accent
#3BEC9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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