#226918#226918

#226918 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.134 H 141.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#226918
RGBrgb(34, 105, 24)
HSLhsl(113, 63%, 25%)
HSVhsv(113, 77%, 41%)
CMYKcmyk(67.6%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.74, -38.25, 36.91)
CIE-LCHlch(38.74, 53.16, 136.01°)
OKLaboklab(45.93% -0.1044 0.0835)
OKLCHoklch(45.93% 0.134 141.4)
XYZxyz(5.8758, 10.5086, 2.5827)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226918 #5F1869
analogous
#4A6918 #226918 #186937
triadic
#226918 #182269 #691822
tetradic
#226918 #184A69 #5F1869 #693718
square
#226918 #184A69 #5F1869 #693718
split-complementary
#226918 #371869 #69184A
monochromatic
#081906 #12370D #226918 #329B23 #42CD2F

Accessibility & contrast

On white

6.77
#226918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#226918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226918
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226918#FFFFFF#000000##FFFFFF
##2269181.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#156659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226918;
/* rgb */ color: rgb(34, 105, 24);
/* oklch */ color: oklch(45.9% 0.134 141.4);
Tailwind
colors: {
  custom: {
    50: '#68955b',
    500: '#226918',
    950: '#000000',
  },
}
SCSS
$custom: #226918;
$custom-light: #68955b;
$custom-dark: #000000;
JSON
{
  "hex": "#226918",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 112.593,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.13372,
    "h": 141.4
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#226918
secondary
#933E9F
accent
#42E6D2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226918

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

Preview Lab → · Contrast checker → · Palette generator →

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