#226418#226418

#226418 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.127 H 141.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#226418
RGBrgb(34, 100, 24)
HSLhsl(112, 61%, 24%)
HSVhsv(112, 76%, 39%)
CMYKcmyk(66%, 0%, 76%, 60.8%)
CIE-LABlab(36.97, -36.31, 35.11)
CIE-LCHlch(36.97, 50.51, 135.96°)
OKLaboklab(44.46% -0.0992 0.0797)
OKLCHoklch(44.46% 0.127 141.2)
XYZxyz(5.3815, 9.5199, 2.4179)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226418 #5A1864
analogous
#486418 #226418 #186434
triadic
#226418 #182264 #641822
tetradic
#226418 #184864 #5A1864 #643418
square
#226418 #184864 #5A1864 #643418
split-complementary
#226418 #341864 #641848
monochromatic
#081906 #11330C #226418 #339524 #44C730

Accessibility & contrast

On white

7.23
#226418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#226418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226418
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226418#FFFFFF#000000##FFFFFF
##2264181.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0B
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#176155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #226418;
/* rgb */ color: rgb(34, 100, 24);
/* oklch */ color: oklch(44.5% 0.127 141.2);
Tailwind
colors: {
  custom: {
    50: '#67915a',
    500: '#226418',
    950: '#000000',
  },
}
SCSS
$custom: #226418;
$custom-light: #67915a;
$custom-dark: #000000;
JSON
{
  "hex": "#226418",
  "rgb": {
    "r": 34,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 112.105,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.12727,
    "h": 141.2
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#226418
secondary
#8E3E9A
accent
#43E4CF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #226418

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

Preview Lab → · Contrast checker → · Palette generator →

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