#227338#227338

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

Color values

HEX#227338
RGBrgb(34, 115, 56)
HSLhsl(136, 54%, 29%)
HSVhsv(136, 70%, 45%)
CMYKcmyk(70.4%, 0%, 51.3%, 54.9%)
CIE-LABlab(42.59, -38.05, 25.63)
CIE-LCHlch(42.59, 45.88, 146.04°)
OKLaboklab(49.23% -0.1026 0.0623)
OKLCHoklch(49.23% 0.12 148.7)
XYZxyz(7.5037, 12.8863, 5.8325)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227338 #73225D
analogous
#357322 #227338 #227361
triadic
#227338 #382273 #733822
tetradic
#227338 #223573 #73225D #736122
square
#227338 #223573 #73225D #736122
split-complementary
#227338 #612273 #732235
monochromatic
#07180C #144421 #227338 #30A24F #47C96A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227338#FFFFFF#000000##FFFFFF
##2273381.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)
#746933
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227338;
/* rgb */ color: rgb(34, 115, 56);
/* oklch */ color: oklch(49.2% 0.120 148.7);
Tailwind
colors: {
  custom: {
    50: '#689c70',
    500: '#227338',
    950: '#000000',
  },
}
SCSS
$custom: #227338;
$custom-light: #689c70;
$custom-dark: #000000;
JSON
{
  "hex": "#227338",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 136.296,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.12,
    "h": 148.7
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#227338
secondary
#A64B8D
accent
#4AB6DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227338

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

Preview Lab → · Contrast checker → · Palette generator →

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