#497F12#497F12

#497F12 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.145 H 133.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#497F12
RGBrgb(73, 127, 18)
HSLhsl(90, 75%, 28%)
HSVhsv(90, 86%, 50%)
CMYKcmyk(42.5%, 0%, 85.8%, 50.2%)
CIE-LABlab(47.80, -35.50, 48.07)
CIE-LCHlch(47.80, 59.76, 126.45°)
OKLaboklab(53.82% -0.1001 0.1053)
OKLCHoklch(53.82% 0.145 133.5)
XYZxyz(10.4460, 16.6383, 3.2333)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497F12 #48127F
analogous
#7F7E12 #497F12 #127F12
triadic
#497F12 #12497F #7F1249
tetradic
#497F12 #127F7E #48127F #7F1212
square
#497F12 #127F7E #48127F #7F1212
split-complementary
#497F12 #12127F #7E127F
monochromatic
#0F1B04 #2A490A #497F12 #68B51A #87E12B

Accessibility & contrast

On white

4.85
#497F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#497F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497F12
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497F12#FFFFFF#000000##FFFFFF
##497F121.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#497A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #497f12;
/* rgb */ color: rgb(73, 127, 18);
/* oklch */ color: oklch(53.8% 0.145 133.5);
Tailwind
colors: {
  custom: {
    50: '#81a45c',
    500: '#497f12',
    950: '#000000',
  },
}
SCSS
$custom: #497f12;
$custom-light: #81a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#497f12",
  "rgb": {
    "r": 73,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 89.725,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.14531,
    "h": 133.5
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#497F12
secondary
#7638B5
accent
#36F293
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #497F12

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

Preview Lab → · Contrast checker → · Palette generator →

#497F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva