#4A8124#4A8124

#4A8124 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.137 H 135.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4A8124
RGBrgb(74, 129, 36)
HSLhsl(95, 56%, 32%)
HSVhsv(95, 72%, 51%)
CMYKcmyk(42.6%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.61, -34.91, 42.64)
CIE-LCHlch(48.61, 55.11, 129.30°)
OKLaboklab(54.53% -0.0973 0.0967)
OKLCHoklch(54.53% 0.137 135.2)
XYZxyz(10.9925, 17.2831, 4.4255)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8124 #5B2481
analogous
#798124 #4A8124 #24812D
triadic
#4A8124 #244A81 #81244A
tetradic
#4A8124 #247981 #5B2481 #812D24
square
#4A8124 #247981 #5B2481 #812D24
split-complementary
#4A8124 #2D2481 #812479
monochromatic
#132109 #2F5117 #4A8124 #65B131 #84CE51

Accessibility & contrast

On white

4.71
#4A8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4A8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8124
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8124#FFFFFF#000000##FFFFFF
##4A81241.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#497C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a8124;
/* rgb */ color: rgb(74, 129, 36);
/* oklch */ color: oklch(54.5% 0.137 135.2);
Tailwind
colors: {
  custom: {
    50: '#81a665',
    500: '#4a8124',
    950: '#000000',
  },
}
SCSS
$custom: #4a8124;
$custom-light: #81a665;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8124",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 95.484,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.13721,
    "h": 135.2
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#4A8124
secondary
#8A4EB2
accent
#48E0A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A8124

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

Preview Lab → · Contrast checker → · Palette generator →

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