#4A7331#4A7331

#4A7331 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.106 H 135.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4A7331
RGBrgb(74, 115, 49)
HSLhsl(97, 40%, 32%)
HSVhsv(97, 57%, 45%)
CMYKcmyk(35.7%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.14, -27.13, 31.63)
CIE-LCHlch(44.14, 41.67, 130.62°)
OKLaboklab(50.92% -0.075 0.0749)
OKLCHoklch(50.92% 0.106 135.1)
XYZxyz(9.5089, 13.9387, 5.0945)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7331 #5A3173
analogous
#6B7331 #4A7331 #317339
triadic
#4A7331 #314A73 #73314A
tetradic
#4A7331 #316B73 #5A3173 #733931
square
#4A7331 #316B73 #5A3173 #733931
split-complementary
#4A7331 #393173 #73316B
monochromatic
#131D0C #2E481F #4A7331 #669E43 #84BC62

Accessibility & contrast

On white

5.54
#4A7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4A7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7331
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7331#FFFFFF#000000##FFFFFF
##4A73311.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#496F64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7331;
/* rgb */ color: rgb(74, 115, 49);
/* oklch */ color: oklch(50.9% 0.106 135.1);
Tailwind
colors: {
  custom: {
    50: '#7f9b6b',
    500: '#4a7331',
    950: '#000000',
  },
}
SCSS
$custom: #4a7331;
$custom-light: #7f9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7331",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 97.273,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.10601,
    "h": 135.1
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#4A7331
secondary
#895CA4
accent
#58D0A2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4A7331

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

Preview Lab → · Contrast checker → · Palette generator →

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