#497828#497828

#497828 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.122 H 134.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#497828
RGBrgb(73, 120, 40)
HSLhsl(95, 50%, 31%)
HSVhsv(95, 67%, 47%)
CMYKcmyk(39.2%, 0%, 66.7%, 52.9%)
CIE-LABlab(45.64, -30.85, 37.72)
CIE-LCHlch(45.64, 48.73, 129.27°)
OKLaboklab(52.09% -0.0859 0.0869)
OKLCHoklch(52.09% 0.122 134.6)
XYZxyz(9.8469, 15.0021, 4.3839)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497828 #572878
analogous
#717828 #497828 #28782F
triadic
#497828 #284978 #782849
tetradic
#497828 #287178 #572878 #782F28
square
#497828 #287178 #572878 #782F28
split-complementary
#497828 #2F2878 #782871
monochromatic
#111C09 #2D4A19 #497828 #65A637 #83C654

Accessibility & contrast

On white

5.25
#497828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#497828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497828
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497828#FFFFFF#000000##FFFFFF
##4978281.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1E
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#487367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #497828;
/* rgb */ color: rgb(73, 120, 40);
/* oklch */ color: oklch(52.1% 0.122 134.6);
Tailwind
colors: {
  custom: {
    50: '#7f9f66',
    500: '#497828',
    950: '#000000',
  },
}
SCSS
$custom: #497828;
$custom-light: #7f9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#497828",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 95.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.1222,
    "h": 134.6
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#497828
secondary
#8652AA
accent
#4EDAA0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #497828

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

Preview Lab → · Contrast checker → · Palette generator →

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