#226F17#226F17

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

Color values

HEX#226F17
RGBrgb(34, 111, 23)
HSLhsl(113, 66%, 26%)
HSVhsv(113, 79%, 44%)
CMYKcmyk(69.4%, 0%, 79.3%, 56.5%)
CIE-LABlab(40.85, -40.58, 39.41)
CIE-LCHlch(40.85, 56.57, 135.84°)
OKLaboklab(47.67% -0.1108 0.0886)
OKLCHoklch(47.67% 0.142 141.4)
XYZxyz(6.4984, 11.7702, 2.7398)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F17 #64176F
analogous
#4E6F17 #226F17 #176F38
triadic
#226F17 #17226F #6F1722
tetradic
#226F17 #174E6F #64176F #6F3817
square
#226F17 #174E6F #64176F #6F3817
split-complementary
#226F17 #38176F #6F174E
monochromatic
#081905 #123C0C #226F17 #32A222 #42D32D

Accessibility & contrast

On white

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

On black

3.35
#226F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##226F17#FFFFFF#000000##FFFFFF
##226F171.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #226f17;
/* rgb */ color: rgb(34, 111, 23);
/* oklch */ color: oklch(47.7% 0.142 141.4);
Tailwind
colors: {
  custom: {
    50: '#69995b',
    500: '#226f17',
    950: '#000000',
  },
}
SCSS
$custom: #226f17;
$custom-light: #69995b;
$custom-dark: #000000;
JSON
{
  "hex": "#226f17",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 112.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.14185,
    "h": 141.4
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#226F17
secondary
#983DA5
accent
#3FE9D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226F17

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

Preview Lab → · Contrast checker → · Palette generator →

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