#497817#497817

#497817 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.134 H 132.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#497817
RGBrgb(73, 120, 23)
HSLhsl(89, 68%, 28%)
HSVhsv(89, 81%, 47%)
CMYKcmyk(39.2%, 0%, 80.8%, 52.9%)
CIE-LABlab(45.51, -32.13, 44.45)
CIE-LCHlch(45.51, 54.85, 125.86°)
OKLaboklab(51.95% -0.0907 0.0985)
OKLCHoklch(51.95% 0.134 132.6)
XYZxyz(9.6187, 14.9108, 3.1817)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497817 #461778
analogous
#787617 #497817 #197817
triadic
#497817 #174978 #781749
tetradic
#497817 #177876 #461778 #781719
square
#497817 #177876 #461778 #781719
split-complementary
#497817 #171978 #761778
monochromatic
#101A05 #2A450D #497817 #68AB21 #87D832

Accessibility & contrast

On white

5.27
#497817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#497817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497817
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497817#FFFFFF#000000##FFFFFF
##4978171.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#4A7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #497817;
/* rgb */ color: rgb(73, 120, 23);
/* oklch */ color: oklch(52.0% 0.134 132.6);
Tailwind
colors: {
  custom: {
    50: '#809f5d',
    500: '#497817',
    950: '#000000',
  },
}
SCSS
$custom: #497817;
$custom-light: #809f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#497817",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 89.072,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.13393,
    "h": 132.6
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#497817
secondary
#743EAD
accent
#3DEB91
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #497817

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

Preview Lab → · Contrast checker → · Palette generator →

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