#4A8520#4A8520

#4A8520 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.145 H 135.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4A8520
RGBrgb(74, 133, 32)
HSLhsl(95, 61%, 32%)
HSVhsv(95, 76%, 52%)
CMYKcmyk(44.4%, 0%, 75.9%, 47.8%)
CIE-LABlab(49.90, -36.95, 45.51)
CIE-LCHlch(49.90, 58.62, 129.08°)
OKLaboklab(55.57% -0.1031 0.1021)
OKLCHoklch(55.57% 0.145 135.3)
XYZxyz(11.4720, 18.3345, 4.3007)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8520 #5B2085
analogous
#7C8520 #4A8520 #208529
triadic
#4A8520 #204A85 #85204A
tetradic
#4A8520 #207C85 #5B2085 #852920
square
#4A8520 #207C85 #5B2085 #852920
split-complementary
#4A8520 #292085 #85207C
monochromatic
#132208 #2F5414 #4A8520 #65B62C #84D44C

Accessibility & contrast

On white

4.50
#4A8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4A8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8520
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8520#FFFFFF#000000##000000
##4A85201.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#488072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a8520;
/* rgb */ color: rgb(74, 133, 32);
/* oklch */ color: oklch(55.6% 0.145 135.3);
Tailwind
colors: {
  custom: {
    50: '#82a963',
    500: '#4a8520',
    950: '#000000',
  },
}
SCSS
$custom: #4a8520;
$custom-light: #82a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8520",
  "rgb": {
    "r": 74,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 95.05,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.14516,
    "h": 135.3
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

primary
#4A8520
secondary
#8A4AB7
accent
#43E4A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8520

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

Preview Lab → · Contrast checker → · Palette generator →

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