#227339#227339

#227339 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.2% C 0.119 H 149.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#227339
RGBrgb(34, 115, 57)
HSLhsl(137, 54%, 29%)
HSVhsv(137, 70%, 45%)
CMYKcmyk(70.4%, 0%, 50.4%, 54.9%)
CIE-LABlab(42.61, -37.88, 25.10)
CIE-LCHlch(42.61, 45.44, 146.48°)
OKLaboklab(49.24% -0.1021 0.0611)
OKLCHoklch(49.24% 0.119 149.1)
XYZxyz(7.5284, 12.8962, 5.9626)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227339 #73225C
analogous
#347322 #227339 #227362
triadic
#227339 #392273 #733922
tetradic
#227339 #223473 #73225C #736222
square
#227339 #223473 #73225C #736222
split-complementary
#227339 #622273 #732234
monochromatic
#07180C #144422 #227339 #30A250 #47C96C

Accessibility & contrast

On white

5.87
#227339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#227339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227339
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227339#FFFFFF#000000##FFFFFF
##2273391.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746934
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227339;
/* rgb */ color: rgb(34, 115, 57);
/* oklch */ color: oklch(49.2% 0.119 149.1);
Tailwind
colors: {
  custom: {
    50: '#689c70',
    500: '#227339',
    950: '#000000',
  },
}
SCSS
$custom: #227339;
$custom-light: #689c70;
$custom-dark: #000000;
JSON
{
  "hex": "#227339",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 57
  },
  "hsl": {
    "h": 137.037,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.119,
    "h": 149.1
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#227339
secondary
#A64B8C
accent
#4AB4DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227339

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

Preview Lab → · Contrast checker → · Palette generator →

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