#226837#226837

#226837 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.105 H 150.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#226837
RGBrgb(34, 104, 55)
HSLhsl(138, 51%, 27%)
HSVhsv(138, 67%, 41%)
CMYKcmyk(67.3%, 0%, 47.1%, 59.2%)
CIE-LABlab(38.75, -33.66, 21.32)
CIE-LCHlch(38.75, 39.85, 147.65°)
OKLaboklab(46.06% -0.0909 0.0524)
OKLCHoklch(46.06% 0.105 150)
XYZxyz(6.2991, 10.5159, 5.3115)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226837 #682253
analogous
#306822 #226837 #22685A
triadic
#226837 #372268 #683722
tetradic
#226837 #223068 #682253 #685A22
square
#226837 #223068 #682253 #685A22
split-complementary
#226837 #5A2268 #682230
monochromatic
#08170C #133A1F #226837 #31964F #43C269

Accessibility & contrast

On white

6.77
#226837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#226837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226837
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226837#FFFFFF#000000##FFFFFF
##2268371.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F33
Deuteranopia (green-blind)
#60593A
Tritanopia (blue-blind)
#09665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226837;
/* rgb */ color: rgb(34, 104, 55);
/* oklch */ color: oklch(46.1% 0.105 150.0);
Tailwind
colors: {
  custom: {
    50: '#66946e',
    500: '#226837',
    950: '#000000',
  },
}
SCSS
$custom: #226837;
$custom-light: #66946e;
$custom-dark: #000000;
JSON
{
  "hex": "#226837",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 55
  },
  "hsl": {
    "h": 138,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.1049,
    "h": 150
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#226837
secondary
#9C4A83
accent
#4EB0DA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226837

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

Preview Lab → · Contrast checker → · Palette generator →

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