#497838#497838

#497838 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.3% C 0.107 H 138.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#497838
RGBrgb(73, 120, 56)
HSLhsl(104, 36%, 35%)
HSVhsv(104, 53%, 47%)
CMYKcmyk(39.2%, 0%, 53.3%, 52.9%)
CIE-LABlab(45.82, -29.02, 29.95)
CIE-LCHlch(45.82, 41.70, 134.10°)
OKLaboklab(52.3% -0.0797 0.0718)
OKLCHoklch(52.3% 0.107 138)
XYZxyz(10.1776, 15.1344, 6.1256)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497838 #673878
analogous
#697838 #497838 #387847
triadic
#497838 #384978 #783849
tetradic
#497838 #386978 #673878 #784738
square
#497838 #386978 #673878 #784738
split-complementary
#497838 #473878 #783869
monochromatic
#162511 #304E25 #497838 #62A24B #83BC6F

Accessibility & contrast

On white

5.21
#497838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#497838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497838
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497838#FFFFFF#000000##FFFFFF
##4978381.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F32
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#477469
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #497838;
/* rgb */ color: rgb(73, 120, 56);
/* oklch */ color: oklch(52.3% 0.107 138.0);
Tailwind
colors: {
  custom: {
    50: '#7f9f70',
    500: '#497838',
    950: '#000000',
  },
}
SCSS
$custom: #497838;
$custom-light: #7f9f70;
$custom-dark: #000000;
JSON
{
  "hex": "#497838",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 104.063,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.10725,
    "h": 138
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#497838
secondary
#9467A5
accent
#5BCCAE
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #497838

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

Preview Lab → · Contrast checker → · Palette generator →

#497838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva