#497917#497917

#497917 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.135 H 132.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#497917
RGBrgb(73, 121, 23)
HSLhsl(89, 68%, 28%)
HSVhsv(89, 81%, 47%)
CMYKcmyk(39.7%, 0%, 81%, 52.5%)
CIE-LABlab(45.84, -32.59, 44.76)
CIE-LCHlch(45.84, 55.37, 126.05°)
OKLaboklab(52.22% -0.0919 0.0992)
OKLCHoklch(52.22% 0.135 132.8)
XYZxyz(9.7395, 15.1526, 3.2220)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497917 #471779
analogous
#797817 #497917 #187917
triadic
#497917 #174979 #791749
tetradic
#497917 #177978 #471779 #791718
square
#497917 #177978 #471779 #791718
split-complementary
#497917 #171879 #781779
monochromatic
#101A05 #2A460D #497917 #68AC21 #87D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##497917#FFFFFF#000000##FFFFFF
##4979171.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)
#7E6F00
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#497467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #497917;
/* rgb */ color: rgb(73, 121, 23);
/* oklch */ color: oklch(52.2% 0.135 132.8);
Tailwind
colors: {
  custom: {
    50: '#80a05d',
    500: '#497917',
    950: '#000000',
  },
}
SCSS
$custom: #497917;
$custom-light: #80a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#497917",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 89.388,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.13523,
    "h": 132.8
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#497917
secondary
#753EAE
accent
#3DEB92
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #497917

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

Preview Lab → · Contrast checker → · Palette generator →

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