#227848#227848

#227848 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.111 H 154.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#227848
RGBrgb(34, 120, 72)
HSLhsl(147, 56%, 30%)
HSVhsv(147, 72%, 47%)
CMYKcmyk(71.7%, 0%, 40%, 52.9%)
CIE-LABlab(44.58, -37.11, 19.21)
CIE-LCHlch(44.58, 41.78, 152.64°)
OKLaboklab(50.95% -0.1003 0.048)
OKLCHoklch(50.95% 0.111 154.4)
XYZxyz(8.5451, 14.2400, 8.4279)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227848 #782252
analogous
#277822 #227848 #227873
triadic
#227848 #482278 #784822
tetradic
#227848 #222778 #782252 #787322
square
#227848 #222778 #782252 #787322
split-complementary
#227848 #732278 #782227
monochromatic
#07190F #14482B #227848 #30A865 #49CB83

Accessibility & contrast

On white

5.46
#227848 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#227848 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227848
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227848#FFFFFF#000000##FFFFFF
##2278481.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E45
Deuteranopia (green-blind)
#6D664B
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227848;
/* rgb */ color: rgb(34, 120, 72);
/* oklch */ color: oklch(50.9% 0.111 154.4);
Tailwind
colors: {
  custom: {
    50: '#69a07b',
    500: '#227848',
    950: '#000000',
  },
}
SCSS
$custom: #227848;
$custom-light: #69a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#227848",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 72
  },
  "hsl": {
    "h": 146.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.11114,
    "h": 154.4
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#227848
secondary
#AB4B80
accent
#499DDF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227848

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

Preview Lab → · Contrast checker → · Palette generator →

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