#497512#497512

#497512 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.1% C 0.133 H 131.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#497512
RGBrgb(73, 117, 18)
HSLhsl(87, 73%, 26%)
HSVhsv(87, 85%, 46%)
CMYKcmyk(37.6%, 0%, 84.6%, 54.1%)
CIE-LABlab(44.49, -31.02, 45.10)
CIE-LCHlch(44.49, 54.74, 124.53°)
OKLaboklab(51.11% -0.0881 0.099)
OKLCHoklch(51.11% 0.133 131.6)
XYZxyz(9.2180, 14.1823, 2.8239)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497512 #3E1275
analogous
#757012 #497512 #187512
triadic
#497512 #124975 #751249
tetradic
#497512 #127570 #3E1275 #751218
square
#497512 #127570 #3E1275 #751218
split-complementary
#497512 #121875 #701275
monochromatic
#111B04 #28400A #497512 #6AAA1A #8BDD24

Accessibility & contrast

On white

5.47
#497512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#497512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497512
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497512#FFFFFF#000000##FFFFFF
##4975121.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#4A7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #497512;
/* rgb */ color: rgb(73, 117, 18);
/* oklch */ color: oklch(51.1% 0.133 131.6);
Tailwind
colors: {
  custom: {
    50: '#809d5a',
    500: '#497512',
    950: '#000000',
  },
}
SCSS
$custom: #497512;
$custom-light: #809d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#497512",
  "rgb": {
    "r": 73,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 86.667,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.13254,
    "h": 131.6
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#497512
secondary
#6B37AC
accent
#38F08A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #497512

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

Preview Lab → · Contrast checker → · Palette generator →

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