#4A8628#4A8628

#4A8628 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.141 H 136.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A8628
RGBrgb(74, 134, 40)
HSLhsl(98, 54%, 34%)
HSVhsv(98, 70%, 53%)
CMYKcmyk(44.8%, 0%, 70.1%, 47.5%)
CIE-LABlab(50.29, -36.76, 42.71)
CIE-LCHlch(50.29, 56.35, 130.72°)
OKLaboklab(55.91% -0.102 0.0974)
OKLCHoklch(55.91% 0.141 136.3)
XYZxyz(11.7318, 18.6585, 4.9904)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8628 #642886
analogous
#798628 #4A8628 #288635
triadic
#4A8628 #284A86 #86284A
tetradic
#4A8628 #287986 #642886 #863528
square
#4A8628 #287986 #642886 #863528
split-complementary
#4A8628 #352886 #862879
monochromatic
#16280C #30571A #4A8628 #64B536 #84CE5B

Accessibility & contrast

On white

4.44
#4A8628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4A8628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8628
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8628#FFFFFF#000000##000000
##4A86281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#478173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8628;
/* rgb */ color: rgb(74, 134, 40);
/* oklch */ color: oklch(55.9% 0.141 136.3);
Tailwind
colors: {
  custom: {
    50: '#82aa67',
    500: '#4a8628',
    950: '#000000',
  },
}
SCSS
$custom: #4a8628;
$custom-light: #82aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8628",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 98.298,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.1411,
    "h": 136.3
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#4A8628
secondary
#9257B3
accent
#4ADDA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8628

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

Preview Lab → · Contrast checker → · Palette generator →

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