#497B17#497B17

#497B17 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.138 H 133.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#497B17
RGBrgb(73, 123, 23)
HSLhsl(90, 68%, 29%)
HSVhsv(90, 81%, 48%)
CMYKcmyk(40.7%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.50, -33.49, 45.38)
CIE-LCHlch(46.50, 56.40, 126.42°)
OKLaboklab(52.76% -0.0944 0.1005)
OKLCHoklch(52.76% 0.138 133.2)
XYZxyz(9.9851, 15.6438, 3.3039)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497B17 #49177B
analogous
#7B7B17 #497B17 #177B17
triadic
#497B17 #17497B #7B1749
tetradic
#497B17 #177B7B #49177B #7B1717
square
#497B17 #177B7B #49177B #7B1717
split-complementary
#497B17 #17177B #7B177B
monochromatic
#0F1A05 #2A470D #497B17 #68AF21 #86D933

Accessibility & contrast

On white

5.09
#497B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#497B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497B17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497B17#FFFFFF#000000##FFFFFF
##497B171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#497669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #497b17;
/* rgb */ color: rgb(73, 123, 23);
/* oklch */ color: oklch(52.8% 0.138 133.2);
Tailwind
colors: {
  custom: {
    50: '#81a15d',
    500: '#497b17',
    950: '#000000',
  },
}
SCSS
$custom: #497b17;
$custom-light: #81a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#497b17",
  "rgb": {
    "r": 73,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.13784,
    "h": 133.2
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#497B17
secondary
#773EB0
accent
#3CEB94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #497B17

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

Preview Lab → · Contrast checker → · Palette generator →

#497B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva