#426218#426218

#426218 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.5% C 0.107 H 130.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#426218
RGBrgb(66, 98, 24)
HSLhsl(86, 61%, 24%)
HSVhsv(86, 76%, 38%)
CMYKcmyk(32.7%, 0%, 75.5%, 61.6%)
CIE-LABlab(37.77, -24.41, 36.40)
CIE-LCHlch(37.77, 43.83, 123.84°)
OKLaboklab(45.53% -0.0692 0.082)
OKLCHoklch(45.53% 0.107 130.2)
XYZxyz(6.7793, 9.9594, 2.4291)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426218 #381862
analogous
#625D18 #426218 #1D6218
triadic
#426218 #184262 #621842
tetradic
#426218 #18625D #381862 #62181D
square
#426218 #18625D #381862 #62181D
split-complementary
#426218 #181D62 #5D1862
monochromatic
#111906 #21310C #426218 #639324 #84C430

Accessibility & contrast

On white

7.02
#426218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#426218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #426218
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426218#FFFFFF#000000##FFFFFF
##4262181.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0C
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#445E53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #426218;
/* rgb */ color: rgb(66, 98, 24);
/* oklch */ color: oklch(45.5% 0.107 130.2);
Tailwind
colors: {
  custom: {
    50: '#798f5a',
    500: '#426218',
    950: '#000000',
  },
}
SCSS
$custom: #426218;
$custom-light: #798f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#426218",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 85.946,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45528,
    "c": 0.10729,
    "h": 130.2
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#426218
secondary
#653E98
accent
#44E489
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426218

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

Preview Lab → · Contrast checker → · Palette generator →

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