#426517#426517

#426517 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.112 H 130.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#426517
RGBrgb(66, 101, 23)
HSLhsl(87, 63%, 24%)
HSVhsv(87, 77%, 40%)
CMYKcmyk(34.7%, 0%, 77.2%, 60.4%)
CIE-LABlab(38.77, -25.96, 37.81)
CIE-LCHlch(38.77, 45.87, 124.47°)
OKLaboklab(46.34% -0.0735 0.0848)
OKLCHoklch(46.34% 0.112 130.9)
XYZxyz(7.0550, 10.5272, 2.4707)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426517 #3A1765
analogous
#656117 #426517 #1B6517
triadic
#426517 #174265 #651742
tetradic
#426517 #176561 #3A1765 #65171B
square
#426517 #176561 #3A1765 #65171B
split-complementary
#426517 #171B65 #611765
monochromatic
#101906 #21330C #426517 #639722 #83C92E

Accessibility & contrast

On white

6.76
#426517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#426517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426517
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426517#FFFFFF#000000##FFFFFF
##4265171.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#436056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #426517;
/* rgb */ color: rgb(66, 101, 23);
/* oklch */ color: oklch(46.3% 0.112 130.9);
Tailwind
colors: {
  custom: {
    50: '#7a915a',
    500: '#426517',
    950: '#000000',
  },
}
SCSS
$custom: #426517;
$custom-light: #7a915a;
$custom-dark: #000000;
JSON
{
  "hex": "#426517",
  "rgb": {
    "r": 66,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 86.923,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46342,
    "c": 0.1122,
    "h": 130.9
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#426517
secondary
#673C9B
accent
#42E68B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426517

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

Preview Lab → · Contrast checker → · Palette generator →

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