#497017#497017

#497017 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.123 H 130.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#497017
RGBrgb(73, 112, 23)
HSLhsl(86, 66%, 26%)
HSVhsv(86, 79%, 44%)
CMYKcmyk(34.8%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.86, -28.42, 41.94)
CIE-LCHlch(42.86, 50.66, 124.12°)
OKLaboklab(49.79% -0.0807 0.0932)
OKLCHoklch(49.79% 0.123 130.9)
XYZxyz(8.6964, 13.0664, 2.8743)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497017 #3E1770
analogous
#706B17 #497017 #1D7017
triadic
#497017 #174970 #701749
tetradic
#497017 #17706B #3E1770 #70171D
square
#497017 #17706B #3E1770 #70171D
split-complementary
#497017 #171D70 #6B1770
monochromatic
#111905 #283D0D #497017 #6AA321 #8BD42D

Accessibility & contrast

On white

5.81
#497017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#497017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497017
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497017#FFFFFF#000000##FFFFFF
##4970171.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#4B6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #497017;
/* rgb */ color: rgb(73, 112, 23);
/* oklch */ color: oklch(49.8% 0.123 130.9);
Tailwind
colors: {
  custom: {
    50: '#80995c',
    500: '#497017',
    950: '#000000',
  },
}
SCSS
$custom: #497017;
$custom-light: #80995c;
$custom-dark: #000000;
JSON
{
  "hex": "#497017",
  "rgb": {
    "r": 73,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 86.292,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.12329,
    "h": 130.9
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#497017
secondary
#6B3DA6
accent
#3FE989
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #497017

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

Preview Lab → · Contrast checker → · Palette generator →

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