#227638#227638

#227638 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.124 H 148.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#227638
RGBrgb(34, 118, 56)
HSLhsl(136, 55%, 30%)
HSVhsv(136, 71%, 46%)
CMYKcmyk(71.2%, 0%, 52.5%, 53.7%)
CIE-LABlab(43.63, -39.26, 26.92)
CIE-LCHlch(43.63, 47.60, 145.56°)
OKLaboklab(50.08% -0.1058 0.0652)
OKLCHoklch(50.08% 0.124 148.4)
XYZxyz(7.8513, 13.5816, 5.9484)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227638 #762260
analogous
#367622 #227638 #227662
triadic
#227638 #382276 #763822
tetradic
#227638 #223676 #762260 #766222
square
#227638 #223676 #762260 #766222
split-complementary
#227638 #622276 #762236
monochromatic
#07180B #144621 #227638 #30A64F #48CA6A

Accessibility & contrast

On white

5.65
#227638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#227638 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227638
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227638#FFFFFF#000000##FFFFFF
##2276381.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B33
Deuteranopia (green-blind)
#6D643C
Tritanopia (blue-blind)
#007468
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227638;
/* rgb */ color: rgb(34, 118, 56);
/* oklch */ color: oklch(50.1% 0.124 148.4);
Tailwind
colors: {
  custom: {
    50: '#699e70',
    500: '#227638',
    950: '#000000',
  },
}
SCSS
$custom: #227638;
$custom-light: #699e70;
$custom-dark: #000000;
JSON
{
  "hex": "#227638",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 56
  },
  "hsl": {
    "h": 135.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.12425,
    "h": 148.4
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#227638
secondary
#A94B90
accent
#49B7DF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227638

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

Preview Lab → · Contrast checker → · Palette generator →

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