#226618#226618

#226618 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.130 H 141.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#226618
RGBrgb(34, 102, 24)
HSLhsl(112, 62%, 25%)
HSVhsv(112, 76%, 40%)
CMYKcmyk(66.7%, 0%, 76.5%, 60%)
CIE-LABlab(37.68, -37.09, 35.83)
CIE-LCHlch(37.68, 51.57, 135.99°)
OKLaboklab(45.05% -0.1013 0.0812)
OKLCHoklch(45.05% 0.13 141.3)
XYZxyz(5.5756, 9.9082, 2.4826)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226618 #5C1866
analogous
#496618 #226618 #186635
triadic
#226618 #182266 #661822
tetradic
#226618 #184966 #5C1866 #663518
square
#226618 #184966 #5C1866 #663518
split-complementary
#226618 #351866 #661849
monochromatic
#081906 #11340C #226618 #339824 #43C92F

Accessibility & contrast

On white

7.04
#226618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#226618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226618
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226618#FFFFFF#000000##FFFFFF
##2266181.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#605720
Tritanopia (blue-blind)
#166357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226618;
/* rgb */ color: rgb(34, 102, 24);
/* oklch */ color: oklch(45.0% 0.130 141.3);
Tailwind
colors: {
  custom: {
    50: '#67925a',
    500: '#226618',
    950: '#000000',
  },
}
SCSS
$custom: #226618;
$custom-light: #67925a;
$custom-dark: #000000;
JSON
{
  "hex": "#226618",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 112.308,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.12987,
    "h": 141.3
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#226618
secondary
#903E9C
accent
#43E5D0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226618

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

Preview Lab → · Contrast checker → · Palette generator →

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