#497217#497217

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

Color values

HEX#497217
RGBrgb(73, 114, 23)
HSLhsl(87, 66%, 27%)
HSVhsv(87, 80%, 45%)
CMYKcmyk(36%, 0%, 79.8%, 55.3%)
CIE-LABlab(43.53, -29.36, 42.57)
CIE-LCHlch(43.53, 51.71, 124.59°)
OKLaboklab(50.33% -0.0832 0.0946)
OKLCHoklch(50.33% 0.126 131.4)
XYZxyz(8.9195, 13.5126, 2.9487)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497217 #401772
analogous
#726E17 #497217 #1C7217
triadic
#497217 #174972 #721749
tetradic
#497217 #17726E #401772 #72171C
square
#497217 #17726E #401772 #72171C
split-complementary
#497217 #171C72 #6E1772
monochromatic
#101905 #283F0D #497217 #6AA521 #8AD52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##497217#FFFFFF#000000##FFFFFF
##4972171.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)
#776902
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#4A6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #497217;
/* rgb */ color: rgb(73, 114, 23);
/* oklch */ color: oklch(50.3% 0.126 131.4);
Tailwind
colors: {
  custom: {
    50: '#809b5c',
    500: '#497217',
    950: '#000000',
  },
}
SCSS
$custom: #497217;
$custom-light: #809b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#497217",
  "rgb": {
    "r": 73,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 87.033,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.12598,
    "h": 131.4
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#497217
secondary
#6D3DA8
accent
#3EE98B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #497217

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

Preview Lab → · Contrast checker → · Palette generator →

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