#4A7239#4A7239

#4A7239 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.8% C 0.096 H 137.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A7239
RGBrgb(74, 114, 57)
HSLhsl(102, 33%, 34%)
HSVhsv(102, 50%, 45%)
CMYKcmyk(35.1%, 0%, 50%, 55.3%)
CIE-LABlab(43.92, -25.60, 27.10)
CIE-LCHlch(43.92, 37.28, 133.38°)
OKLaboklab(50.78% -0.0703 0.0655)
OKLCHoklch(50.78% 0.096 137)
XYZxyz(9.5796, 13.7855, 6.0262)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7239 #613972
analogous
#667239 #4A7239 #397244
triadic
#4A7239 #394A72 #72394A
tetradic
#4A7239 #396672 #613972 #724439
square
#4A7239 #396672 #613972 #724439
split-complementary
#4A7239 #443972 #723966
monochromatic
#152010 #304925 #4A7239 #649B4D #84B76F

Accessibility & contrast

On white

5.59
#4A7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4A7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7239
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7239#FFFFFF#000000##FFFFFF
##4A72391.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A34
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#496E65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7239;
/* rgb */ color: rgb(74, 114, 57);
/* oklch */ color: oklch(50.8% 0.096 137.0);
Tailwind
colors: {
  custom: {
    50: '#7f9b70',
    500: '#4a7239',
    950: '#000000',
  },
}
SCSS
$custom: #4a7239;
$custom-light: #7f9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7239",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 102.105,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.09609,
    "h": 137
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#4A7239
secondary
#8F67A0
accent
#5EC9AA
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4A7239

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

Preview Lab → · Contrast checker → · Palette generator →

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