#226237#226237

#226237 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.096 H 151.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#226237
RGBrgb(34, 98, 55)
HSLhsl(140, 48%, 26%)
HSVhsv(140, 65%, 38%)
CMYKcmyk(65.3%, 0%, 43.9%, 61.6%)
CIE-LABlab(36.65, -31.04, 18.60)
CIE-LCHlch(36.65, 36.19, 149.07°)
OKLaboklab(44.33% -0.0839 0.0461)
OKLCHoklch(44.33% 0.096 151.2)
XYZxyz(5.7165, 9.3507, 5.1173)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226237 #62224D
analogous
#2D6222 #226237 #226257
triadic
#226237 #372262 #623722
tetradic
#226237 #222D62 #62224D #625722
square
#226237 #222D62 #62224D #625722
split-complementary
#226237 #572262 #62222D
monochromatic
#08170D #12351D #226237 #328F50 #42BD6A

Accessibility & contrast

On white

7.32
#226237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #226237
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226237#FFFFFF#000000##FFFFFF
##2262371.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A34
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#0D6057
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226237;
/* rgb */ color: rgb(34, 98, 55);
/* oklch */ color: oklch(44.3% 0.096 151.2);
Tailwind
colors: {
  custom: {
    50: '#658f6e',
    500: '#226237',
    950: '#000000',
  },
}
SCSS
$custom: #226237;
$custom-light: #658f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#226237",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 139.688,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44327,
    "c": 0.09575,
    "h": 151.2
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#226237
secondary
#964A7D
accent
#50ABD8
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #226237

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

Preview Lab → · Contrast checker → · Palette generator →

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