#497918#497918

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

Color values

HEX#497918
RGBrgb(73, 121, 24)
HSLhsl(90, 67%, 28%)
HSVhsv(90, 80%, 47%)
CMYKcmyk(39.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.85, -32.53, 44.43)
CIE-LCHlch(45.85, 55.07, 126.21°)
OKLaboklab(52.23% -0.0917 0.0986)
OKLCHoklch(52.23% 0.135 132.9)
XYZxyz(9.7498, 15.1567, 3.2758)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497918 #481879
analogous
#797818 #497918 #187918
triadic
#497918 #184979 #791849
tetradic
#497918 #187978 #481879 #791818
square
#497918 #187978 #481879 #791818
split-complementary
#497918 #181879 #781879
monochromatic
#0F1A05 #2A460E #497918 #68AC22 #87D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##497918#FFFFFF#000000##FFFFFF
##4979181.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: #497918;
/* rgb */ color: rgb(73, 121, 24);
/* oklch */ color: oklch(52.2% 0.135 132.9);
Tailwind
colors: {
  custom: {
    50: '#80a05d',
    500: '#497918',
    950: '#000000',
  },
}
SCSS
$custom: #497918;
$custom-light: #80a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#497918",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 89.691,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.13469,
    "h": 132.9
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#497918
secondary
#763FAE
accent
#3EEA93
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #497918

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

Preview Lab → · Contrast checker → · Palette generator →

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