#226338#226338

#226338 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.096 H 151.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#226338
RGBrgb(34, 99, 56)
HSLhsl(140, 49%, 26%)
HSVhsv(140, 66%, 39%)
CMYKcmyk(65.7%, 0%, 43.4%, 61.2%)
CIE-LABlab(37.02, -31.29, 18.50)
CIE-LCHlch(37.02, 36.35, 149.41°)
OKLaboklab(44.64% -0.0846 0.0459)
OKLCHoklch(44.64% 0.096 151.5)
XYZxyz(5.8349, 9.5487, 5.2762)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226338 #63224D
analogous
#2C6322 #226338 #226358
triadic
#226338 #382263 #633822
tetradic
#226338 #222C63 #63224D #635822
square
#226338 #222C63 #63224D #635822
split-complementary
#226338 #582263 #63222C
monochromatic
#08170D #12351E #226338 #329152 #41BE6C

Accessibility & contrast

On white

7.22
#226338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#226338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226338
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226338#FFFFFF#000000##FFFFFF
##2263381.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B35
Deuteranopia (green-blind)
#5B553B
Tritanopia (blue-blind)
#0B6158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #226338;
/* rgb */ color: rgb(34, 99, 56);
/* oklch */ color: oklch(44.6% 0.096 151.5);
Tailwind
colors: {
  custom: {
    50: '#65906f',
    500: '#226338',
    950: '#000000',
  },
}
SCSS
$custom: #226338;
$custom-light: #65906f;
$custom-dark: #000000;
JSON
{
  "hex": "#226338",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 140.308,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44636,
    "c": 0.09624,
    "h": 151.5
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#226338
secondary
#974A7D
accent
#4FAAD8
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #226338

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

Preview Lab → · Contrast checker → · Palette generator →

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