#4A8728#4A8728

#4A8728 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.142 H 136.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4A8728
RGBrgb(74, 135, 40)
HSLhsl(99, 54%, 34%)
HSVhsv(99, 70%, 53%)
CMYKcmyk(45.2%, 0%, 70.4%, 47.1%)
CIE-LABlab(50.61, -37.19, 43.06)
CIE-LCHlch(50.61, 56.90, 130.82°)
OKLaboklab(56.18% -0.1032 0.0982)
OKLCHoklch(56.18% 0.142 136.4)
XYZxyz(11.8707, 18.9363, 5.0366)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8728 #652887
analogous
#7A8728 #4A8728 #288735
triadic
#4A8728 #284A87 #87284A
tetradic
#4A8728 #287A87 #652887 #873528
square
#4A8728 #287A87 #652887 #873528
split-complementary
#4A8728 #352887 #87287A
monochromatic
#16290C #30581A #4A8728 #64B636 #84CE5B

Accessibility & contrast

On white

4.39
#4A8728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4A8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8728
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8728#FFFFFF#000000##000000
##4A87281.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#837731
Tritanopia (blue-blind)
#478274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8728;
/* rgb */ color: rgb(74, 135, 40);
/* oklch */ color: oklch(56.2% 0.142 136.4);
Tailwind
colors: {
  custom: {
    50: '#82aa67',
    500: '#4a8728',
    950: '#000000',
  },
}
SCSS
$custom: #4a8728;
$custom-light: #82aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8728",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 98.526,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.14244,
    "h": 136.4
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#4A8728
secondary
#9357B4
accent
#4ADEA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8728

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

Preview Lab → · Contrast checker → · Palette generator →

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