#426A17#426A17

#426A17 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.7% C 0.119 H 132.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#426A17
RGBrgb(66, 106, 23)
HSLhsl(89, 64%, 25%)
HSVhsv(89, 78%, 42%)
CMYKcmyk(37.7%, 0%, 78.3%, 58.4%)
CIE-LABlab(40.46, -28.36, 39.47)
CIE-LCHlch(40.46, 48.60, 125.70°)
OKLaboklab(47.72% -0.08 0.0882)
OKLCHoklch(47.72% 0.119 132.2)
XYZxyz(7.5554, 11.5279, 2.6375)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426A17 #3F176A
analogous
#6A6817 #426A17 #186A17
triadic
#426A17 #17426A #6A1742
tetradic
#426A17 #176A68 #3F176A #6A1718
square
#426A17 #176A68 #3F176A #6A1718
split-complementary
#426A17 #17186A #68176A
monochromatic
#101905 #23380C #426A17 #619C22 #81CF2D

Accessibility & contrast

On white

6.35
#426A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#426A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426A17
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426A17#FFFFFF#000000##FFFFFF
##426A171.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#43655A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #426a17;
/* rgb */ color: rgb(66, 106, 23);
/* oklch */ color: oklch(47.7% 0.119 132.2);
Tailwind
colors: {
  custom: {
    50: '#7a955b',
    500: '#426a17',
    950: '#000000',
  },
}
SCSS
$custom: #426a17;
$custom-light: #7a955b;
$custom-dark: #000000;
JSON
{
  "hex": "#426a17",
  "rgb": {
    "r": 66,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 88.916,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.11913,
    "h": 132.2
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#426A17
secondary
#6D3DA0
accent
#40E791
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #426A17

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

Preview Lab → · Contrast checker → · Palette generator →

#426A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva