#496417#496417

#496417 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.6% C 0.107 H 127.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#496417
RGBrgb(73, 100, 23)
HSLhsl(81, 63%, 24%)
HSVhsv(81, 77%, 39%)
CMYKcmyk(27%, 0%, 77%, 60.8%)
CIE-LABlab(38.89, -22.50, 38.07)
CIE-LCHlch(38.89, 44.23, 120.58°)
OKLaboklab(46.55% -0.0646 0.0851)
OKLCHoklch(46.55% 0.107 127.2)
XYZxyz(7.4595, 10.5925, 2.4620)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496417 #321764
analogous
#645917 #496417 #236417
triadic
#496417 #174964 #641749
tetradic
#496417 #176459 #321764 #641723
square
#496417 #176459 #321764 #641723
split-complementary
#496417 #172364 #591764
monochromatic
#121906 #25320C #496417 #6D9622 #92C82E

Accessibility & contrast

On white

6.73
#496417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#496417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496417
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496417#FFFFFF#000000##FFFFFF
##4964171.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D09
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#4C5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #496417;
/* rgb */ color: rgb(73, 100, 23);
/* oklch */ color: oklch(46.6% 0.107 127.2);
Tailwind
colors: {
  custom: {
    50: '#7f905a',
    500: '#496417',
    950: '#000000',
  },
}
SCSS
$custom: #496417;
$custom-light: #7f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#496417",
  "rgb": {
    "r": 73,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 81.039,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.10687,
    "h": 127.2
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#496417
secondary
#5D3C9A
accent
#42E67B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #496417

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

Preview Lab → · Contrast checker → · Palette generator →

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