#4A8129#4A8129

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

Color values

HEX#4A8129
RGBrgb(74, 129, 41)
HSLhsl(98, 52%, 33%)
HSVhsv(98, 68%, 51%)
CMYKcmyk(42.6%, 0%, 68.2%, 49.4%)
CIE-LABlab(48.66, -34.48, 40.55)
CIE-LCHlch(48.66, 53.23, 130.37°)
OKLaboklab(54.58% -0.0958 0.093)
OKLCHoklch(54.58% 0.134 135.8)
XYZxyz(11.0743, 17.3158, 4.8562)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8129 #602981
analogous
#768129 #4A8129 #298134
triadic
#4A8129 #294A81 #81294A
tetradic
#4A8129 #297681 #602981 #813429
square
#4A8129 #297681 #602981 #813429
split-complementary
#4A8129 #342981 #812976
monochromatic
#15240B #2F531A #4A8129 #65AF38 #84CB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8129#FFFFFF#000000##FFFFFF
##4A81291.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)
#86761D
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#487C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a8129;
/* rgb */ color: rgb(74, 129, 41);
/* oklch */ color: oklch(54.6% 0.134 135.8);
Tailwind
colors: {
  custom: {
    50: '#81a667',
    500: '#4a8129',
    950: '#000000',
  },
}
SCSS
$custom: #4a8129;
$custom-light: #81a667;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8129",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 97.5,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.13352,
    "h": 135.8
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#4A8129
secondary
#8E56B0
accent
#4DDBA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A8129

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

Preview Lab → · Contrast checker → · Palette generator →

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