#226312#226312

#226312 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.1% C 0.130 H 140.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#226312
RGBrgb(34, 99, 18)
HSLhsl(108, 69%, 23%)
HSVhsv(108, 82%, 39%)
CMYKcmyk(65.7%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.57, -36.41, 37.06)
CIE-LCHlch(36.57, 51.95, 134.49°)
OKLaboklab(44.12% -0.0998 0.0829)
OKLCHoklch(44.12% 0.13 140.3)
XYZxyz(5.2305, 9.3069, 2.0929)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226312 #531263
analogous
#4A6312 #226312 #12632A
triadic
#226312 #122263 #631222
tetradic
#226312 #124A63 #531263 #632A12
square
#226312 #124A63 #531263 #632A12
split-complementary
#226312 #2A1263 #63124A
monochromatic
#091A05 #102F09 #226312 #34971B #46CB25

Accessibility & contrast

On white

7.34
#226312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#226312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226312
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226312#FFFFFF#000000##FFFFFF
##2263121.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#196054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226312;
/* rgb */ color: rgb(34, 99, 18);
/* oklch */ color: oklch(44.1% 0.130 140.3);
Tailwind
colors: {
  custom: {
    50: '#679057',
    500: '#226312',
    950: '#000000',
  },
}
SCSS
$custom: #226312;
$custom-light: #679057;
$custom-dark: #000000;
JSON
{
  "hex": "#226312",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 108.148,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.12977,
    "h": 140.3
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#226312
secondary
#87369B
accent
#3CECC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #226312

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

Preview Lab → · Contrast checker → · Palette generator →

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