#497312#497312

#497312 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.130 H 131.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#497312
RGBrgb(73, 115, 18)
HSLhsl(86, 73%, 26%)
HSVhsv(86, 84%, 45%)
CMYKcmyk(36.5%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.83, -30.10, 44.50)
CIE-LCHlch(43.83, 53.72, 124.08°)
OKLaboklab(50.57% -0.0856 0.0978)
OKLCHoklch(50.57% 0.13 131.2)
XYZxyz(8.9875, 13.7213, 2.7471)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497312 #3C1273
analogous
#736C12 #497312 #197312
triadic
#497312 #124973 #731249
tetradic
#497312 #12736C #3C1273 #731219
square
#497312 #12736C #3C1273 #731219
split-complementary
#497312 #121973 #6C1273
monochromatic
#111A04 #273E0A #497312 #6BA81A #8CDD23

Accessibility & contrast

On white

5.61
#497312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#497312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497312
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497312#FFFFFF#000000##FFFFFF
##4973121.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#73661D
Tritanopia (blue-blind)
#4A6E61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #497312;
/* rgb */ color: rgb(73, 115, 18);
/* oklch */ color: oklch(50.6% 0.130 131.2);
Tailwind
colors: {
  custom: {
    50: '#809b5a',
    500: '#497312',
    950: '#000000',
  },
}
SCSS
$custom: #497312;
$custom-light: #809b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#497312",
  "rgb": {
    "r": 73,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 85.979,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.12995,
    "h": 131.2
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#497312
secondary
#6937AA
accent
#38F088
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #497312

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

Preview Lab → · Contrast checker → · Palette generator →

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