#497018#497018

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

Color values

HEX#497018
RGBrgb(73, 112, 24)
HSLhsl(87, 65%, 27%)
HSVhsv(87, 79%, 44%)
CMYKcmyk(34.8%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.87, -28.35, 41.58)
CIE-LCHlch(42.87, 50.33, 124.29°)
OKLaboklab(49.8% -0.0804 0.0927)
OKLCHoklch(49.8% 0.123 131)
XYZxyz(8.7066, 13.0704, 2.9281)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497018 #3F1870
analogous
#706B18 #497018 #1D7018
triadic
#497018 #184970 #701849
tetradic
#497018 #18706B #3F1870 #70181D
square
#497018 #18706B #3F1870 #70181D
split-complementary
#497018 #181D70 #6B1870
monochromatic
#101905 #283E0D #497018 #6AA223 #8AD330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##497018#FFFFFF#000000##FFFFFF
##4970181.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)
#756705
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#4B6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #497018;
/* rgb */ color: rgb(73, 112, 24);
/* oklch */ color: oklch(49.8% 0.123 131.0);
Tailwind
colors: {
  custom: {
    50: '#7f995c',
    500: '#497018',
    950: '#000000',
  },
}
SCSS
$custom: #497018;
$custom-light: #7f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#497018",
  "rgb": {
    "r": 73,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 86.591,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.12269,
    "h": 131
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#497018
secondary
#6C3EA5
accent
#40E88A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #497018

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

Preview Lab → · Contrast checker → · Palette generator →

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