#426818#426818

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

Color values

HEX#426818
RGBrgb(66, 104, 24)
HSLhsl(89, 63%, 25%)
HSVhsv(89, 77%, 41%)
CMYKcmyk(36.5%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.79, -27.34, 38.42)
CIE-LCHlch(39.79, 47.16, 125.43°)
OKLaboklab(47.17% -0.0772 0.0862)
OKLCHoklch(47.17% 0.116 131.9)
XYZxyz(7.3619, 11.1245, 2.6233)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426818 #3E1868
analogous
#686618 #426818 #1A6818
triadic
#426818 #184268 #681842
tetradic
#426818 #186866 #3E1868 #68181A
square
#426818 #186866 #3E1868 #68181A
split-complementary
#426818 #181A68 #661868
monochromatic
#101906 #22360D #426818 #629A23 #81CB2F

Accessibility & contrast

On white

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

On black

3.23
#426818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##426818#FFFFFF#000000##FFFFFF
##4268181.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#436359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #426818;
/* rgb */ color: rgb(66, 104, 24);
/* oklch */ color: oklch(47.2% 0.116 131.9);
Tailwind
colors: {
  custom: {
    50: '#7a935b',
    500: '#426818',
    950: '#000000',
  },
}
SCSS
$custom: #426818;
$custom-light: #7a935b;
$custom-dark: #000000;
JSON
{
  "hex": "#426818",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 88.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47174,
    "c": 0.11571,
    "h": 131.9
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#426818
secondary
#6B3E9E
accent
#42E690
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #426818

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

Preview Lab → · Contrast checker → · Palette generator →

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