#4A8F19#4A8F19

#4A8F19 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.162 H 135.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A8F19
RGBrgb(74, 143, 25)
HSLhsl(95, 70%, 33%)
HSVhsv(95, 83%, 56%)
CMYKcmyk(48.3%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.14, -41.56, 50.93)
CIE-LCHlch(53.14, 65.74, 129.22°)
OKLaboklab(58.22% -0.116 0.1124)
OKLCHoklch(58.22% 0.162 135.9)
XYZxyz(12.8216, 21.1701, 4.3301)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F19 #5E198F
analogous
#858F19 #4A8F19 #198F23
triadic
#4A8F19 #194A8F #8F194A
tetradic
#4A8F19 #19858F #5E198F #8F2319
square
#4A8F19 #19858F #5E198F #8F2319
split-complementary
#4A8F19 #23198F #8F1985
monochromatic
#142707 #2F5B10 #4A8F19 #65C322 #84DE44

Accessibility & contrast

On white

4.01
#4A8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F19
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F19#FFFFFF#000000##000000
##4A8F191.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#47897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f19;
/* rgb */ color: rgb(74, 143, 25);
/* oklch */ color: oklch(58.2% 0.162 135.9);
Tailwind
colors: {
  custom: {
    50: '#84b061',
    500: '#4a8f19',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f19;
$custom-light: #84b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f19",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 95.085,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.16155,
    "h": 135.9
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#4A8F19
secondary
#8C44BF
accent
#3BEDA3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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