#226018#226018

#226018 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.3% C 0.122 H 141.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#226018
RGBrgb(34, 96, 24)
HSLhsl(112, 60%, 24%)
HSVhsv(112, 75%, 38%)
CMYKcmyk(64.6%, 0%, 75%, 62.4%)
CIE-LABlab(35.54, -34.72, 33.63)
CIE-LCHlch(35.54, 48.34, 135.91°)
OKLaboklab(43.28% -0.0949 0.0766)
OKLCHoklch(43.28% 0.122 141.1)
XYZxyz(5.0072, 8.7713, 2.2931)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226018 #561860
analogous
#466018 #226018 #186032
triadic
#226018 #182260 #601822
tetradic
#226018 #184660 #561860 #603218
square
#226018 #184660 #561860 #603218
split-complementary
#226018 #321860 #601846
monochromatic
#091806 #112F0C #226018 #339124 #45C230

Accessibility & contrast

On white

7.62
#226018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#226018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226018
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226018#FFFFFF#000000##FFFFFF
##2260181.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#195D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #226018;
/* rgb */ color: rgb(34, 96, 24);
/* oklch */ color: oklch(43.3% 0.122 141.1);
Tailwind
colors: {
  custom: {
    50: '#668e59',
    500: '#226018',
    950: '#000000',
  },
}
SCSS
$custom: #226018;
$custom-light: #668e59;
$custom-dark: #000000;
JSON
{
  "hex": "#226018",
  "rgb": {
    "r": 34,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 111.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.12198,
    "h": 141.1
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#226018
secondary
#8A3D96
accent
#45E3CD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #226018

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

Preview Lab → · Contrast checker → · Palette generator →

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