#4A8928#4A8928

#4A8928 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.7% C 0.145 H 136.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4A8928
RGBrgb(74, 137, 40)
HSLhsl(99, 55%, 35%)
HSVhsv(99, 71%, 54%)
CMYKcmyk(46%, 0%, 70.8%, 46.3%)
CIE-LABlab(51.27, -38.05, 43.74)
CIE-LCHlch(51.27, 57.98, 131.02°)
OKLaboklab(56.71% -0.1055 0.0996)
OKLCHoklch(56.71% 0.145 136.7)
XYZxyz(12.1524, 19.4996, 5.1305)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8928 #672889
analogous
#7B8928 #4A8928 #288937
triadic
#4A8928 #284A89 #89284A
tetradic
#4A8928 #287B89 #672889 #893728
square
#4A8928 #287B89 #672889 #893728
split-complementary
#4A8928 #372889 #89287B
monochromatic
#172A0C #305A1A #4A8928 #64B836 #84CF5C

Accessibility & contrast

On white

4.29
#4A8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4A8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8928
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8928#FFFFFF#000000##000000
##4A89281.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#478476
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a8928;
/* rgb */ color: rgb(74, 137, 40);
/* oklch */ color: oklch(56.7% 0.145 136.7);
Tailwind
colors: {
  custom: {
    50: '#82ac68',
    500: '#4a8928',
    950: '#000000',
  },
}
SCSS
$custom: #4a8928;
$custom-light: #82ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8928",
  "rgb": {
    "r": 74,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 98.969,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.14512,
    "h": 136.7
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#4A8928
secondary
#9458B5
accent
#4ADEAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8928

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

Preview Lab → · Contrast checker → · Palette generator →

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