#4A7129#4A7129

#4A7129 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.111 H 133.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4A7129
RGBrgb(74, 113, 41)
HSLhsl(93, 47%, 30%)
HSVhsv(93, 64%, 44%)
CMYKcmyk(34.5%, 0%, 63.7%, 55.7%)
CIE-LABlab(43.40, -27.04, 34.79)
CIE-LCHlch(43.40, 44.07, 127.86°)
OKLaboklab(50.29% -0.0755 0.0808)
OKLCHoklch(50.29% 0.111 133)
XYZxyz(9.1293, 13.4259, 4.2078)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7129 #502971
analogous
#6E7129 #4A7129 #29712C
triadic
#4A7129 #294A71 #71294A
tetradic
#4A7129 #296E71 #502971 #712C29
square
#4A7129 #296E71 #502971 #712C29
split-complementary
#4A7129 #2C2971 #71296E
monochromatic
#0F1708 #2D4419 #4A7129 #679E39 #86C154

Accessibility & contrast

On white

5.70
#4A7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7129
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7129#FFFFFF#000000##FFFFFF
##4A71291.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#4A6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a7129;
/* rgb */ color: rgb(74, 113, 41);
/* oklch */ color: oklch(50.3% 0.111 133.0);
Tailwind
colors: {
  custom: {
    50: '#7f9a66',
    500: '#4a7129',
    950: '#000000',
  },
}
SCSS
$custom: #4a7129;
$custom-light: #7f9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7129",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 92.5,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50286,
    "c": 0.11059,
    "h": 133
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#4A7129
secondary
#7E53A3
accent
#51D699
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A7129

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

Preview Lab → · Contrast checker → · Palette generator →

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