#226239#226239

#226239 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.094 H 152.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#226239
RGBrgb(34, 98, 57)
HSLhsl(142, 48%, 26%)
HSVhsv(142, 65%, 38%)
CMYKcmyk(65.3%, 0%, 41.8%, 61.6%)
CIE-LABlab(36.69, -30.65, 17.47)
CIE-LCHlch(36.69, 35.28, 150.31°)
OKLaboklab(44.37% -0.0829 0.0435)
OKLCHoklch(44.37% 0.094 152.3)
XYZxyz(5.7654, 9.3703, 5.3749)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226239 #62224B
analogous
#2B6222 #226239 #226259
triadic
#226239 #392262 #623922
tetradic
#226239 #222B62 #62224B #625922
square
#226239 #222B62 #62224B #625922
split-complementary
#226239 #592262 #62222B
monochromatic
#08170D #12351F #226239 #328F53 #42BD6E

Accessibility & contrast

On white

7.31
#226239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#226239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226239
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226239#FFFFFF#000000##FFFFFF
##2262391.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A36
Deuteranopia (green-blind)
#5A543C
Tritanopia (blue-blind)
#0B6158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226239;
/* rgb */ color: rgb(34, 98, 57);
/* oklch */ color: oklch(44.4% 0.094 152.3);
Tailwind
colors: {
  custom: {
    50: '#658f70',
    500: '#226239',
    950: '#000000',
  },
}
SCSS
$custom: #226239;
$custom-light: #658f70;
$custom-dark: #000000;
JSON
{
  "hex": "#226239",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 141.563,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.09363,
    "h": 152.3
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#226239
secondary
#964A7B
accent
#50A7D8
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #226239

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

Preview Lab → · Contrast checker → · Palette generator →

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