#496817#496817

#496817 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.112 H 128.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#496817
RGBrgb(73, 104, 23)
HSLhsl(83, 64%, 25%)
HSVhsv(83, 78%, 41%)
CMYKcmyk(29.8%, 0%, 77.9%, 59.2%)
CIE-LABlab(40.21, -24.52, 39.38)
CIE-LCHlch(40.21, 46.39, 121.91°)
OKLaboklab(47.63% -0.0701 0.0879)
OKLCHoklch(47.63% 0.112 128.6)
XYZxyz(7.8526, 11.3788, 2.5930)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496817 #361768
analogous
#685F17 #496817 #206817
triadic
#496817 #174968 #681749
tetradic
#496817 #17685F #361768 #681720
square
#496817 #17685F #361768 #681720
split-complementary
#496817 #172068 #5F1768
monochromatic
#121906 #26360C #496817 #6C9A22 #8FCC2D

Accessibility & contrast

On white

6.41
#496817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#496817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496817
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496817#FFFFFF#000000##FFFFFF
##4968171.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#4C6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #496817;
/* rgb */ color: rgb(73, 104, 23);
/* oklch */ color: oklch(47.6% 0.112 128.6);
Tailwind
colors: {
  custom: {
    50: '#7f935b',
    500: '#496817',
    950: '#000000',
  },
}
SCSS
$custom: #496817;
$custom-light: #7f935b;
$custom-dark: #000000;
JSON
{
  "hex": "#496817",
  "rgb": {
    "r": 73,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 82.963,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.1124,
    "h": 128.6
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#496817
secondary
#623D9E
accent
#41E780
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #496817

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

Preview Lab → · Contrast checker → · Palette generator →

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