#228147#228147

#228147 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.125 H 152.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228147
RGBrgb(34, 129, 71)
HSLhsl(143, 58%, 32%)
HSVhsv(143, 74%, 51%)
CMYKcmyk(73.6%, 0%, 45%, 49.4%)
CIE-LABlab(47.62, -40.98, 23.76)
CIE-LCHlch(47.62, 47.37, 149.90°)
OKLaboklab(53.45% -0.1104 0.0586)
OKLCHoklch(53.45% 0.125 152)
XYZxyz(9.6464, 16.4944, 8.6354)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228147 #81225C
analogous
#2D8122 #228147 #228177
triadic
#228147 #472281 #814722
tetradic
#228147 #222D81 #81225C #817722
square
#228147 #222D81 #81225C #817722
split-complementary
#228147 #772281 #81222D
monochromatic
#082012 #15512C #228147 #2FB162 #4DD080

Accessibility & contrast

On white

4.88
#228147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#228147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228147
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228147#FFFFFF#000000##FFFFFF
##2281471.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817643
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228147;
/* rgb */ color: rgb(34, 129, 71);
/* oklch */ color: oklch(53.5% 0.125 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ba67b',
    500: '#228147',
    950: '#000000',
  },
}
SCSS
$custom: #228147;
$custom-light: #6ba67b;
$custom-dark: #000000;
JSON
{
  "hex": "#228147",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 143.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.12498,
    "h": 152
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#228147
secondary
#B34B8B
accent
#46A5E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228147

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

Preview Lab → · Contrast checker → · Palette generator →

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