#4A8019#4A8019

#4A8019 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.143 H 133.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8019
RGBrgb(74, 128, 25)
HSLhsl(91, 67%, 30%)
HSVhsv(91, 80%, 50%)
CMYKcmyk(42.2%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.21, -35.22, 46.35)
CIE-LCHlch(48.21, 58.21, 127.23°)
OKLaboklab(54.18% -0.099 0.1028)
OKLCHoklch(54.18% 0.143 133.9)
XYZxyz(10.7185, 16.9638, 3.6291)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8019 #4F1980
analogous
#7E8019 #4A8019 #19801B
triadic
#4A8019 #194A80 #80194A
tetradic
#4A8019 #197E80 #4F1980 #801B19
square
#4A8019 #197E80 #4F1980 #801B19
split-complementary
#4A8019 #1B1980 #80197E
monochromatic
#0F1A05 #2C4D0F #4A8019 #68B323 #86D93B

Accessibility & contrast

On white

4.78
#4A8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4A8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8019
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8019#FFFFFF#000000##FFFFFF
##4A80191.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a8019;
/* rgb */ color: rgb(74, 128, 25);
/* oklch */ color: oklch(54.2% 0.143 133.9);
Tailwind
colors: {
  custom: {
    50: '#82a55f',
    500: '#4a8019',
    950: '#000000',
  },
}
SCSS
$custom: #4a8019;
$custom-light: #82a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8019",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 91.456,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.1427,
    "h": 133.9
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#4A8019
secondary
#7D41B4
accent
#3EEA98
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8019

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

Preview Lab → · Contrast checker → · Palette generator →

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