#4A8A28#4A8A28

#4A8A28 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.146 H 136.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4A8A28
RGBrgb(74, 138, 40)
HSLhsl(99, 55%, 35%)
HSVhsv(99, 71%, 54%)
CMYKcmyk(46.4%, 0%, 71%, 45.9%)
CIE-LABlab(51.59, -38.48, 44.08)
CIE-LCHlch(51.59, 58.51, 131.12°)
OKLaboklab(56.98% -0.1067 0.1003)
OKLCHoklch(56.98% 0.146 136.8)
XYZxyz(12.2952, 19.7852, 5.1781)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A28 #68288A
analogous
#7B8A28 #4A8A28 #288A37
triadic
#4A8A28 #284A8A #8A284A
tetradic
#4A8A28 #287B8A #68288A #8A3728
square
#4A8A28 #287B8A #68288A #8A3728
split-complementary
#4A8A28 #37288A #8A287B
monochromatic
#172B0C #315B1A #4A8A28 #63B936 #85D05D

Accessibility & contrast

On white

4.24
#4A8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4A8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A28#FFFFFF#000000##000000
##4A8A281.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E19
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#478576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a28;
/* rgb */ color: rgb(74, 138, 40);
/* oklch */ color: oklch(57.0% 0.146 136.8);
Tailwind
colors: {
  custom: {
    50: '#82ad68',
    500: '#4a8a28',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a28;
$custom-light: #82ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a28",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 99.184,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.14645,
    "h": 136.8
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#4A8A28
secondary
#9559B5
accent
#49DEAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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