#495F18#495F18

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

Color values

HEX#495F18
RGBrgb(73, 95, 24)
HSLhsl(79, 60%, 23%)
HSVhsv(79, 75%, 37%)
CMYKcmyk(23.2%, 0%, 74.7%, 62.7%)
CIE-LABlab(37.24, -19.84, 36.02)
CIE-LCHlch(37.24, 41.12, 118.85°)
OKLaboklab(45.22% -0.0572 0.081)
OKLCHoklch(45.22% 0.099 125.2)
XYZxyz(7.0048, 9.6667, 2.3608)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495F18 #2E185F
analogous
#5F5118 #495F18 #255F18
triadic
#495F18 #18495F #5F1849
tetradic
#495F18 #185F51 #2E185F #5F1825
square
#495F18 #185F51 #2E185F #5F1825
split-complementary
#495F18 #18255F #51185F
monochromatic
#131806 #232E0C #495F18 #6F9024 #94C131

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##495F18#FFFFFF#000000##FFFFFF
##495F181.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)
#64580C
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#4C5A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #495f18;
/* rgb */ color: rgb(73, 95, 24);
/* oklch */ color: oklch(45.2% 0.099 125.2);
Tailwind
colors: {
  custom: {
    50: '#7e8c5a',
    500: '#495f18',
    950: '#000000',
  },
}
SCSS
$custom: #495f18;
$custom-light: #7e8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#495f18",
  "rgb": {
    "r": 73,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 78.592,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.09917,
    "h": 125.2
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#495F18
secondary
#593D95
accent
#45E376
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #495F18

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

Preview Lab → · Contrast checker → · Palette generator →

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