#4A7232#4A7232

#4A7232 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.103 H 135.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4A7232
RGBrgb(74, 114, 50)
HSLhsl(98, 39%, 32%)
HSVhsv(98, 56%, 45%)
CMYKcmyk(35.1%, 0%, 56.1%, 55.3%)
CIE-LABlab(43.83, -26.52, 30.74)
CIE-LCHlch(43.83, 40.60, 130.79°)
OKLaboklab(50.67% -0.0733 0.073)
OKLCHoklch(50.67% 0.103 135.1)
XYZxyz(9.4169, 13.7204, 5.1691)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7232 #5A3272
analogous
#6A7232 #4A7232 #32723A
triadic
#4A7232 #324A72 #72324A
tetradic
#4A7232 #326A72 #5A3272 #723A32
square
#4A7232 #326A72 #5A3272 #723A32
split-complementary
#4A7232 #3A3272 #72326A
monochromatic
#131D0D #2E471F #4A7232 #669D45 #84BB64

Accessibility & contrast

On white

5.61
#4A7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4A7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7232
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7232#FFFFFF#000000##FFFFFF
##4A72321.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2C
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#496E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7232;
/* rgb */ color: rgb(74, 114, 50);
/* oklch */ color: oklch(50.7% 0.103 135.1);
Tailwind
colors: {
  custom: {
    50: '#7f9b6c',
    500: '#4a7232',
    950: '#000000',
  },
}
SCSS
$custom: #4a7232;
$custom-light: #7f9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7232",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 97.5,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.10346,
    "h": 135.1
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#4A7232
secondary
#895DA3
accent
#59CFA3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4A7232

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

Preview Lab → · Contrast checker → · Palette generator →

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