#426816#426816

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

Color values

HEX#426816
RGBrgb(66, 104, 22)
HSLhsl(88, 65%, 25%)
HSVhsv(88, 79%, 41%)
CMYKcmyk(36.5%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.78, -27.47, 39.19)
CIE-LCHlch(39.78, 47.86, 125.03°)
OKLaboklab(47.16% -0.0777 0.0875)
OKLCHoklch(47.16% 0.117 131.6)
XYZxyz(7.3418, 11.1165, 2.5178)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426816 #3C1668
analogous
#686516 #426816 #196816
triadic
#426816 #164268 #681642
tetradic
#426816 #166865 #3C1668 #681619
square
#426816 #166865 #3C1668 #681619
split-complementary
#426816 #161968 #651668
monochromatic
#101905 #22350B #426816 #629B21 #82CD2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##426816#FFFFFF#000000##FFFFFF
##4268161.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)
#6D6005
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #426816;
/* rgb */ color: rgb(66, 104, 22);
/* oklch */ color: oklch(47.2% 0.117 131.6);
Tailwind
colors: {
  custom: {
    50: '#7a935a',
    500: '#426816',
    950: '#000000',
  },
}
SCSS
$custom: #426816;
$custom-light: #7a935a;
$custom-dark: #000000;
JSON
{
  "hex": "#426816",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 87.805,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.11701,
    "h": 131.6
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#426816
secondary
#693B9F
accent
#40E88E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #426816

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

Preview Lab → · Contrast checker → · Palette generator →

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