#226F18#226F18

#226F18 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.141 H 141.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#226F18
RGBrgb(34, 111, 24)
HSLhsl(113, 64%, 26%)
HSVhsv(113, 78%, 44%)
CMYKcmyk(69.4%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.85, -40.51, 39.04)
CIE-LCHlch(40.85, 56.25, 136.06°)
OKLaboklab(47.68% -0.1105 0.0879)
OKLCHoklch(47.68% 0.141 141.5)
XYZxyz(6.5086, 11.7742, 2.7936)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F18 #65186F
analogous
#4E6F18 #226F18 #186F3A
triadic
#226F18 #18226F #6F1822
tetradic
#226F18 #184E6F #65186F #6F3A18
square
#226F18 #184E6F #65186F #6F3A18
split-complementary
#226F18 #3A186F #6F184E
monochromatic
#081905 #133D0D #226F18 #31A123 #42D22F

Accessibility & contrast

On white

6.26
#226F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#226F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F18
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F18#FFFFFF#000000##FFFFFF
##226F181.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#126B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226f18;
/* rgb */ color: rgb(34, 111, 24);
/* oklch */ color: oklch(47.7% 0.141 141.5);
Tailwind
colors: {
  custom: {
    50: '#69995c',
    500: '#226f18',
    950: '#000000',
  },
}
SCSS
$custom: #226f18;
$custom-light: #69995c;
$custom-dark: #000000;
JSON
{
  "hex": "#226f18",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 113.103,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4768,
    "c": 0.14126,
    "h": 141.5
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#226F18
secondary
#993EA5
accent
#40E7D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226F18

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

Preview Lab → · Contrast checker → · Palette generator →

#226F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva