#426917#426917

#426917 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.4% C 0.118 H 132.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#426917
RGBrgb(66, 105, 23)
HSLhsl(89, 64%, 25%)
HSVhsv(89, 78%, 41%)
CMYKcmyk(37.1%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.12, -27.88, 39.14)
CIE-LCHlch(40.12, 48.06, 125.47°)
OKLaboklab(47.44% -0.0788 0.0875)
OKLCHoklch(47.44% 0.118 132)
XYZxyz(7.4529, 11.3230, 2.6033)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426917 #3E1769
analogous
#696717 #426917 #196917
triadic
#426917 #174269 #691742
tetradic
#426917 #176967 #3E1769 #691719
square
#426917 #176967 #3E1769 #691719
split-complementary
#426917 #171969 #671769
monochromatic
#101905 #22370C #426917 #629B22 #81CD2D

Accessibility & contrast

On white

6.43
#426917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#426917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426917
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426917#FFFFFF#000000##FFFFFF
##4269171.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6007
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#436459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #426917;
/* rgb */ color: rgb(66, 105, 23);
/* oklch */ color: oklch(47.4% 0.118 132.0);
Tailwind
colors: {
  custom: {
    50: '#7a945b',
    500: '#426917',
    950: '#000000',
  },
}
SCSS
$custom: #426917;
$custom-light: #7a945b;
$custom-dark: #000000;
JSON
{
  "hex": "#426917",
  "rgb": {
    "r": 66,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 88.537,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.11775,
    "h": 132
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#426917
secondary
#6B3D9F
accent
#41E790
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #426917

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

Preview Lab → · Contrast checker → · Palette generator →

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