#226F38#226F38

#226F38 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.1% C 0.114 H 149.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#226F38
RGBrgb(34, 111, 56)
HSLhsl(137, 53%, 28%)
HSVhsv(137, 69%, 44%)
CMYKcmyk(69.4%, 0%, 49.5%, 56.5%)
CIE-LABlab(41.21, -36.42, 23.89)
CIE-LCHlch(41.21, 43.56, 146.74°)
OKLaboklab(48.08% -0.0982 0.0583)
OKLCHoklch(48.08% 0.114 149.3)
XYZxyz(7.0574, 11.9937, 5.6837)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F38 #6F2259
analogous
#326F22 #226F38 #226F5E
triadic
#226F38 #38226F #6F3822
tetradic
#226F38 #22326F #6F2259 #6F5E22
square
#226F38 #22326F #6F2259 #6F5E22
split-complementary
#226F38 #5E226F #6F2232
monochromatic
#07170C #144020 #226F38 #309E50 #45C66A

Accessibility & contrast

On white

6.18
#226F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#226F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F38
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F38#FFFFFF#000000##FFFFFF
##226F381.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706534
Deuteranopia (green-blind)
#665F3C
Tritanopia (blue-blind)
#036D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f38;
/* rgb */ color: rgb(34, 111, 56);
/* oklch */ color: oklch(48.1% 0.114 149.3);
Tailwind
colors: {
  custom: {
    50: '#68996f',
    500: '#226f38',
    950: '#000000',
  },
}
SCSS
$custom: #226f38;
$custom-light: #68996f;
$custom-dark: #000000;
JSON
{
  "hex": "#226f38",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 56
  },
  "hsl": {
    "h": 137.143,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.11423,
    "h": 149.3
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#226F38
secondary
#A24A89
accent
#4BB3DD
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #226F38

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

Preview Lab → · Contrast checker → · Palette generator →

#226F38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva