#426717#426717

#426717 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.9% C 0.115 H 131.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#426717
RGBrgb(66, 103, 23)
HSLhsl(88, 63%, 25%)
HSVhsv(88, 78%, 40%)
CMYKcmyk(35.9%, 0%, 77.7%, 59.6%)
CIE-LABlab(39.45, -26.93, 38.48)
CIE-LCHlch(39.45, 46.96, 124.98°)
OKLaboklab(46.89% -0.0762 0.0861)
OKLCHoklch(46.89% 0.115 131.5)
XYZxyz(7.2516, 10.9203, 2.5362)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426717 #3C1767
analogous
#676417 #426717 #1A6717
triadic
#426717 #174267 #671742
tetradic
#426717 #176764 #3C1767 #67171A
square
#426717 #176764 #3C1767 #67171A
split-complementary
#426717 #171A67 #641767
monochromatic
#101906 #22350C #426717 #629922 #82CB2D

Accessibility & contrast

On white

6.60
#426717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#426717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426717
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426717#FFFFFF#000000##FFFFFF
##4267171.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#436258
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #426717;
/* rgb */ color: rgb(66, 103, 23);
/* oklch */ color: oklch(46.9% 0.115 131.5);
Tailwind
colors: {
  custom: {
    50: '#7a925a',
    500: '#426717',
    950: '#000000',
  },
}
SCSS
$custom: #426717;
$custom-light: #7a925a;
$custom-dark: #000000;
JSON
{
  "hex": "#426717",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 87.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46892,
    "c": 0.11499,
    "h": 131.5
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#426717
secondary
#693D9D
accent
#41E78E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #426717

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

Preview Lab → · Contrast checker → · Palette generator →

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