#227738#227738

#227738 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.126 H 148.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#227738
RGBrgb(34, 119, 56)
HSLhsl(136, 56%, 30%)
HSVhsv(136, 71%, 47%)
CMYKcmyk(71.4%, 0%, 52.9%, 53.3%)
CIE-LABlab(43.97, -39.65, 27.34)
CIE-LCHlch(43.97, 48.17, 145.41°)
OKLaboklab(50.37% -0.1068 0.0661)
OKLCHoklch(50.37% 0.126 148.2)
XYZxyz(7.9697, 13.8184, 5.9878)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227738 #772261
analogous
#377722 #227738 #227762
triadic
#227738 #382277 #773822
tetradic
#227738 #223777 #772261 #776222
square
#227738 #223777 #772261 #776222
split-complementary
#227738 #622277 #772237
monochromatic
#07180B #144722 #227738 #30A74E #49CB6A

Accessibility & contrast

On white

5.58
#227738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#227738 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227738
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227738#FFFFFF#000000##FFFFFF
##2277381.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C33
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227738;
/* rgb */ color: rgb(34, 119, 56);
/* oklch */ color: oklch(50.4% 0.126 148.2);
Tailwind
colors: {
  custom: {
    50: '#699f70',
    500: '#227738',
    950: '#000000',
  },
}
SCSS
$custom: #227738;
$custom-light: #699f70;
$custom-dark: #000000;
JSON
{
  "hex": "#227738",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 56
  },
  "hsl": {
    "h": 135.529,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.12566,
    "h": 148.2
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#227738
secondary
#AA4B91
accent
#49B8DF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227738

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

Preview Lab → · Contrast checker → · Palette generator →

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