#226F1F#226F1F

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

Color values

HEX#226F1F
RGBrgb(34, 111, 31)
HSLhsl(118, 56%, 28%)
HSVhsv(118, 72%, 44%)
CMYKcmyk(69.4%, 0%, 72.1%, 56.5%)
CIE-LABlab(40.91, -39.87, 36.22)
CIE-LCHlch(40.91, 53.87, 137.75°)
OKLaboklab(47.74% -0.1084 0.083)
OKLCHoklch(47.74% 0.137 142.6)
XYZxyz(6.5911, 11.8072, 3.2277)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F1F #6C1F6F
analogous
#4A6F1F #226F1F #1F6F44
triadic
#226F1F #1F226F #6F1F22
tetradic
#226F1F #1F4A6F #6C1F6F #6F441F
square
#226F1F #1F4A6F #6C1F6F #6F441F
split-complementary
#226F1F #441F6F #6F1F4A
monochromatic
#071807 #133F12 #226F1F #319F2C #44C93F

Accessibility & contrast

On white

6.25
#226F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226F1F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F1F#FFFFFF#000000##FFFFFF
##226F1F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726413
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#116C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226f1f;
/* rgb */ color: rgb(34, 111, 31);
/* oklch */ color: oklch(47.7% 0.137 142.6);
Tailwind
colors: {
  custom: {
    50: '#69995f',
    500: '#226f1f',
    950: '#000000',
  },
}
SCSS
$custom: #226f1f;
$custom-light: #69995f;
$custom-dark: #000000;
JSON
{
  "hex": "#226f1f",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 117.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47741,
    "c": 0.13657,
    "h": 142.6
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#226F1F
secondary
#A047A3
accent
#48E0DA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #226F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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