#426817#426817

#426817 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.2% C 0.116 H 131.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#426817
RGBrgb(66, 104, 23)
HSLhsl(88, 64%, 25%)
HSVhsv(88, 78%, 41%)
CMYKcmyk(36.5%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.78, -27.41, 38.81)
CIE-LCHlch(39.78, 47.51, 125.23°)
OKLaboklab(47.17% -0.0775 0.0868)
OKLCHoklch(47.17% 0.116 131.7)
XYZxyz(7.3517, 11.1205, 2.5696)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426817 #3D1768
analogous
#686617 #426817 #196817
triadic
#426817 #174268 #681742
tetradic
#426817 #176866 #3D1768 #681719
square
#426817 #176866 #3D1768 #681719
split-complementary
#426817 #171968 #661768
monochromatic
#101906 #22360C #426817 #629A22 #82CC2D

Accessibility & contrast

On white

6.51
#426817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#426817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426817
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426817#FFFFFF#000000##FFFFFF
##4268171.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #426817;
/* rgb */ color: rgb(66, 104, 23);
/* oklch */ color: oklch(47.2% 0.116 131.7);
Tailwind
colors: {
  custom: {
    50: '#7a935a',
    500: '#426817',
    950: '#000000',
  },
}
SCSS
$custom: #426817;
$custom-light: #7a935a;
$custom-dark: #000000;
JSON
{
  "hex": "#426817",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 88.148,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.11637,
    "h": 131.7
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#426817
secondary
#6A3D9E
accent
#41E78F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #426817

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

Preview Lab → · Contrast checker → · Palette generator →

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