#4A8428#4A8428

#4A8428 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.138 H 136.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4A8428
RGBrgb(74, 132, 40)
HSLhsl(98, 53%, 34%)
HSVhsv(98, 70%, 52%)
CMYKcmyk(43.9%, 0%, 69.7%, 48.2%)
CIE-LABlab(49.63, -35.89, 42.02)
CIE-LCHlch(49.63, 55.26, 130.50°)
OKLaboklab(55.37% -0.0997 0.096)
OKLCHoklch(55.37% 0.138 136.1)
XYZxyz(11.4580, 18.1109, 4.8991)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8428 #622884
analogous
#788428 #4A8428 #288434
triadic
#4A8428 #284A84 #84284A
tetradic
#4A8428 #287884 #622884 #843428
square
#4A8428 #287884 #622884 #843428
split-complementary
#4A8428 #342884 #842878
monochromatic
#15260C #30551A #4A8428 #64B336 #84CD5A

Accessibility & contrast

On white

4.54
#4A8428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4A8428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8428
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8428#FFFFFF#000000##000000
##4A84281.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#487F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4a8428;
/* rgb */ color: rgb(74, 132, 40);
/* oklch */ color: oklch(55.4% 0.138 136.1);
Tailwind
colors: {
  custom: {
    50: '#82a867',
    500: '#4a8428',
    950: '#000000',
  },
}
SCSS
$custom: #4a8428;
$custom-light: #82a867;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8428",
  "rgb": {
    "r": 74,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 97.826,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.13839,
    "h": 136.1
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#4A8428
secondary
#9056B2
accent
#4BDDA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8428

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

Preview Lab → · Contrast checker → · Palette generator →

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