#497218#497218

#497218 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.125 H 131.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#497218
RGBrgb(73, 114, 24)
HSLhsl(87, 65%, 27%)
HSVhsv(87, 79%, 45%)
CMYKcmyk(36%, 0%, 78.9%, 55.3%)
CIE-LABlab(43.53, -29.30, 42.22)
CIE-LCHlch(43.53, 51.39, 124.76°)
OKLaboklab(50.33% -0.083 0.094)
OKLCHoklch(50.33% 0.125 131.4)
XYZxyz(8.9298, 13.5167, 3.0025)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497218 #411872
analogous
#726E18 #497218 #1C7218
triadic
#497218 #184972 #721849
tetradic
#497218 #18726E #411872 #72181C
square
#497218 #18726E #411872 #72181C
split-complementary
#497218 #181C72 #6E1872
monochromatic
#101905 #293F0D #497218 #69A523 #89D431

Accessibility & contrast

On white

5.67
#497218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#497218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497218
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497218#FFFFFF#000000##FFFFFF
##4972181.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#4A6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #497218;
/* rgb */ color: rgb(73, 114, 24);
/* oklch */ color: oklch(50.3% 0.125 131.4);
Tailwind
colors: {
  custom: {
    50: '#809b5c',
    500: '#497218',
    950: '#000000',
  },
}
SCSS
$custom: #497218;
$custom-light: #809b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#497218",
  "rgb": {
    "r": 73,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 87.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.12539,
    "h": 131.4
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#497218
secondary
#6E3EA7
accent
#40E88C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #497218

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

Preview Lab → · Contrast checker → · Palette generator →

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