#496312#496312

#496312 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.2% C 0.109 H 126.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#496312
RGBrgb(73, 99, 18)
HSLhsl(79, 69%, 23%)
HSVhsv(79, 82%, 39%)
CMYKcmyk(26.3%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.52, -22.29, 39.61)
CIE-LCHlch(38.52, 45.45, 119.37°)
OKLaboklab(46.25% -0.0645 0.0875)
OKLCHoklch(46.25% 0.109 126.4)
XYZxyz(7.3187, 10.3837, 2.1908)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496312 #2C1263
analogous
#635412 #496312 #216312
triadic
#496312 #124963 #631249
tetradic
#496312 #126354 #2C1263 #631221
square
#496312 #126354 #2C1263 #631221
split-complementary
#496312 #122163 #541263
monochromatic
#131A05 #232F09 #496312 #6F971B #95CB25

Accessibility & contrast

On white

6.83
#496312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#496312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496312
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496312#FFFFFF#000000##FFFFFF
##4963121.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#4C5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #496312;
/* rgb */ color: rgb(73, 99, 18);
/* oklch */ color: oklch(46.2% 0.109 126.4);
Tailwind
colors: {
  custom: {
    50: '#7f8f57',
    500: '#496312',
    950: '#000000',
  },
}
SCSS
$custom: #496312;
$custom-light: #7f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#496312",
  "rgb": {
    "r": 73,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 79.259,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.10866,
    "h": 126.4
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#496312
secondary
#56369B
accent
#3CEC74
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #496312

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

Preview Lab → · Contrast checker → · Palette generator →

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