#426018#426018

#426018 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.0% C 0.104 H 129.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#426018
RGBrgb(66, 96, 24)
HSLhsl(85, 60%, 24%)
HSVhsv(85, 75%, 38%)
CMYKcmyk(31.3%, 0%, 75%, 62.4%)
CIE-LABlab(37.10, -23.41, 35.72)
CIE-LCHlch(37.10, 42.71, 123.23°)
OKLaboklab(44.98% -0.0665 0.0805)
OKLCHoklch(44.98% 0.104 129.5)
XYZxyz(6.5945, 9.5898, 2.3675)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426018 #361860
analogous
#605A18 #426018 #1E6018
triadic
#426018 #184260 #601842
tetradic
#426018 #18605A #361860 #60181E
square
#426018 #18605A #361860 #60181E
split-complementary
#426018 #181E60 #5A1860
monochromatic
#111806 #202F0C #426018 #649124 #85C230

Accessibility & contrast

On white

7.20
#426018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#426018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #426018
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426018#FFFFFF#000000##FFFFFF
##4260181.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#445C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #426018;
/* rgb */ color: rgb(66, 96, 24);
/* oklch */ color: oklch(45.0% 0.104 129.5);
Tailwind
colors: {
  custom: {
    50: '#798d5a',
    500: '#426018',
    950: '#000000',
  },
}
SCSS
$custom: #426018;
$custom-light: #798d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#426018",
  "rgb": {
    "r": 66,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 85,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.10444,
    "h": 129.5
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#426018
secondary
#623D96
accent
#45E387
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426018

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

Preview Lab → · Contrast checker → · Palette generator →

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