#4A9828#4A9828

#4A9828 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.7% C 0.165 H 138.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4A9828
RGBrgb(74, 152, 40)
HSLhsl(102, 58%, 38%)
HSVhsv(102, 74%, 60%)
CMYKcmyk(51.3%, 0%, 73.7%, 40.4%)
CIE-LABlab(56.15, -44.24, 48.76)
CIE-LCHlch(56.15, 65.83, 132.22°)
OKLaboklab(60.73% -0.1223 0.1101)
OKLCHoklch(60.73% 0.165 138)
XYZxyz(14.4348, 24.0645, 5.8913)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9828 #762898
analogous
#829828 #4A9828 #28983E
triadic
#4A9828 #284A98 #98284A
tetradic
#4A9828 #288298 #762898 #983E28
square
#4A9828 #288298 #762898 #983E28
split-complementary
#4A9828 #3E2898 #982882
monochromatic
#1B370F #32681B #4A9828 #62C835 #87D664

Accessibility & contrast

On white

3.61
#4A9828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4A9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9828
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9828#FFFFFF#000000##000000
##4A98281.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#449382
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a9828;
/* rgb */ color: rgb(74, 152, 40);
/* oklch */ color: oklch(60.7% 0.165 138.0);
Tailwind
colors: {
  custom: {
    50: '#84b769',
    500: '#4a9828',
    950: '#000000',
  },
}
SCSS
$custom: #4a9828;
$custom-light: #84b769;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9828",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 101.786,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.16454,
    "h": 138
  },
  "luminance": 0.24066
}

Semantic roles & 50–950 ramp

primary
#4A9828
secondary
#A060BC
accent
#46E2B2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4A9828

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

Preview Lab → · Contrast checker → · Palette generator →

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