#497A17#497A17

#497A17 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.137 H 133.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#497A17
RGBrgb(73, 122, 23)
HSLhsl(90, 68%, 28%)
HSVhsv(90, 81%, 48%)
CMYKcmyk(40.2%, 0%, 81.1%, 52.2%)
CIE-LABlab(46.17, -33.04, 45.07)
CIE-LCHlch(46.17, 55.89, 126.24°)
OKLaboklab(52.49% -0.0932 0.0998)
OKLCHoklch(52.49% 0.137 133)
XYZxyz(9.8617, 15.3969, 3.2627)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497A17 #48177A
analogous
#7A7917 #497A17 #177A17
triadic
#497A17 #17497A #7A1749
tetradic
#497A17 #177A79 #48177A #7A1717
square
#497A17 #177A79 #48177A #7A1717
split-complementary
#497A17 #17177A #79177A
monochromatic
#0F1A05 #2A470D #497A17 #68AD21 #87D933

Accessibility & contrast

On white

5.15
#497A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#497A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497A17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497A17#FFFFFF#000000##FFFFFF
##497A171.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#497568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #497a17;
/* rgb */ color: rgb(73, 122, 23);
/* oklch */ color: oklch(52.5% 0.137 133.0);
Tailwind
colors: {
  custom: {
    50: '#81a15d',
    500: '#497a17',
    950: '#000000',
  },
}
SCSS
$custom: #497a17;
$custom-light: #81a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#497a17",
  "rgb": {
    "r": 73,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 89.697,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.13654,
    "h": 133
  },
  "luminance": 0.15397
}

Semantic roles & 50–950 ramp

primary
#497A17
secondary
#763EAF
accent
#3DEB93
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #497A17

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

Preview Lab → · Contrast checker → · Palette generator →

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