#227748#227748

#227748 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.7% C 0.110 H 154.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#227748
RGBrgb(34, 119, 72)
HSLhsl(147, 56%, 30%)
HSVhsv(147, 71%, 47%)
CMYKcmyk(71.4%, 0%, 39.5%, 53.3%)
CIE-LABlab(44.23, -36.69, 18.75)
CIE-LCHlch(44.23, 41.20, 152.93°)
OKLaboklab(50.67% -0.0992 0.0469)
OKLCHoklch(50.67% 0.11 154.7)
XYZxyz(8.4255, 14.0007, 8.3880)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227748 #772251
analogous
#267722 #227748 #227773
triadic
#227748 #482277 #774822
tetradic
#227748 #222677 #772251 #777322
square
#227748 #222677 #772251 #777322
split-complementary
#227748 #732277 #772226
monochromatic
#07180E #14472B #227748 #30A765 #49CB83

Accessibility & contrast

On white

5.53
#227748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#227748 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227748
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227748#FFFFFF#000000##FFFFFF
##2277481.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D45
Deuteranopia (green-blind)
#6C664B
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227748;
/* rgb */ color: rgb(34, 119, 72);
/* oklch */ color: oklch(50.7% 0.110 154.7);
Tailwind
colors: {
  custom: {
    50: '#699f7b',
    500: '#227748',
    950: '#000000',
  },
}
SCSS
$custom: #227748;
$custom-light: #699f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#227748",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 72
  },
  "hsl": {
    "h": 146.824,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.10969,
    "h": 154.7
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#227748
secondary
#AA4B7F
accent
#499CDF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227748

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

Preview Lab → · Contrast checker → · Palette generator →

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