#495F17#495F17

#495F17 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.2% C 0.100 H 125.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#495F17
RGBrgb(73, 95, 23)
HSLhsl(78, 61%, 23%)
HSVhsv(78, 76%, 37%)
CMYKcmyk(23.2%, 0%, 75.8%, 62.7%)
CIE-LABlab(37.23, -19.91, 36.43)
CIE-LCHlch(37.23, 41.52, 118.66°)
OKLaboklab(45.21% -0.0575 0.0817)
OKLCHoklch(45.21% 0.1 125.1)
XYZxyz(6.9946, 9.6627, 2.3070)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495F17 #2D175F
analogous
#5F5117 #495F17 #255F17
triadic
#495F17 #17495F #5F1749
tetradic
#495F17 #175F51 #2D175F #5F1725
square
#495F17 #175F51 #2D175F #5F1725
split-complementary
#495F17 #17255F #51175F
monochromatic
#131906 #232E0B #495F17 #6F9023 #95C22F

Accessibility & contrast

On white

7.16
#495F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#495F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495F17
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495F17#FFFFFF#000000##FFFFFF
##495F171.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65580B
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#4D5A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #495f17;
/* rgb */ color: rgb(73, 95, 23);
/* oklch */ color: oklch(45.2% 0.100 125.1);
Tailwind
colors: {
  custom: {
    50: '#7e8c59',
    500: '#495f17',
    950: '#000000',
  },
}
SCSS
$custom: #495f17;
$custom-light: #7e8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#495f17",
  "rgb": {
    "r": 73,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 78.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45211,
    "c": 0.0999,
    "h": 125.1
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#495F17
secondary
#573C96
accent
#44E475
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #495F17

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

Preview Lab → · Contrast checker → · Palette generator →

#495F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva