#227048#227048

#227048 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.099 H 156.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#227048
RGBrgb(34, 112, 72)
HSLhsl(149, 53%, 29%)
HSVhsv(149, 70%, 44%)
CMYKcmyk(69.6%, 0%, 35.7%, 56.1%)
CIE-LABlab(41.84, -33.68, 15.54)
CIE-LCHlch(41.84, 37.09, 155.24°)
OKLaboklab(48.7% -0.0914 0.0391)
OKLCHoklch(48.7% 0.099 156.8)
XYZxyz(7.6229, 12.3955, 8.1205)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227048 #70224A
analogous
#237022 #227048 #22706F
triadic
#227048 #482270 #704822
tetradic
#227048 #222370 #70224A #706F22
square
#227048 #222370 #70224A #706F22
split-complementary
#227048 #6F2270 #702223
monochromatic
#07170F #14412A #227048 #309F66 #46C785

Accessibility & contrast

On white

6.04
#227048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#227048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227048
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227048#FFFFFF#000000##FFFFFF
##2270481.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6745
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227048;
/* rgb */ color: rgb(34, 112, 72);
/* oklch */ color: oklch(48.7% 0.099 156.8);
Tailwind
colors: {
  custom: {
    50: '#689a7b',
    500: '#227048',
    950: '#000000',
  },
}
SCSS
$custom: #227048;
$custom-light: #689a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#227048",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 72
  },
  "hsl": {
    "h": 149.231,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.09942,
    "h": 156.8
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#227048
secondary
#A34A78
accent
#4B96DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227048

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

Preview Lab → · Contrast checker → · Palette generator →

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