#497412#497412

#497412 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.8% C 0.131 H 131.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#497412
RGBrgb(73, 116, 18)
HSLhsl(86, 73%, 26%)
HSVhsv(86, 84%, 45%)
CMYKcmyk(37.1%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.16, -30.56, 44.80)
CIE-LCHlch(44.16, 54.23, 124.30°)
OKLaboklab(50.84% -0.0868 0.0984)
OKLCHoklch(50.84% 0.131 131.4)
XYZxyz(9.1021, 13.9506, 2.7853)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497412 #3D1274
analogous
#746E12 #497412 #187412
triadic
#497412 #124974 #741249
tetradic
#497412 #12746E #3D1274 #741218
square
#497412 #12746E #3D1274 #741218
split-complementary
#497412 #121874 #6E1274
monochromatic
#111A04 #283F0A #497412 #6AA91A #8CDD23

Accessibility & contrast

On white

5.54
#497412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#497412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497412
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497412#FFFFFF#000000##FFFFFF
##4974121.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#4A6F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #497412;
/* rgb */ color: rgb(73, 116, 18);
/* oklch */ color: oklch(50.8% 0.131 131.4);
Tailwind
colors: {
  custom: {
    50: '#809c5a',
    500: '#497412',
    950: '#000000',
  },
}
SCSS
$custom: #497412;
$custom-light: #809c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#497412",
  "rgb": {
    "r": 73,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 86.327,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.13125,
    "h": 131.4
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#497412
secondary
#6A37AB
accent
#38F089
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #497412

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

Preview Lab → · Contrast checker → · Palette generator →

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