#497112#497112

#497112 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.127 H 130.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#497112
RGBrgb(73, 113, 18)
HSLhsl(85, 73%, 26%)
HSVhsv(85, 84%, 44%)
CMYKcmyk(35.4%, 0%, 84.1%, 55.7%)
CIE-LABlab(43.17, -29.16, 43.89)
CIE-LCHlch(43.17, 52.70, 123.60°)
OKLaboklab(50.03% -0.0831 0.0965)
OKLCHoklch(50.03% 0.127 130.7)
XYZxyz(8.7619, 13.2701, 2.6719)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497112 #3A1271
analogous
#716912 #497112 #1A7112
triadic
#497112 #124971 #711249
tetradic
#497112 #127169 #3A1271 #71121A
square
#497112 #127169 #3A1271 #71121A
split-complementary
#497112 #121A71 #691271
monochromatic
#111A04 #273C0A #497112 #6BA61A #8DDB23

Accessibility & contrast

On white

5.75
#497112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#497112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497112
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497112#FFFFFF#000000##FFFFFF
##4971121.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#4B6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #497112;
/* rgb */ color: rgb(73, 113, 18);
/* oklch */ color: oklch(50.0% 0.127 130.7);
Tailwind
colors: {
  custom: {
    50: '#809a5a',
    500: '#497112',
    950: '#000000',
  },
}
SCSS
$custom: #497112;
$custom-light: #809a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#497112",
  "rgb": {
    "r": 73,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 85.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.12733,
    "h": 130.7
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#497112
secondary
#6637A8
accent
#39EF85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #497112

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

Preview Lab → · Contrast checker → · Palette generator →

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