#228047#228047

#228047 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.124 H 152.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228047
RGBrgb(34, 128, 71)
HSLhsl(144, 58%, 32%)
HSVhsv(144, 73%, 50%)
CMYKcmyk(73.4%, 0%, 44.5%, 49.8%)
CIE-LABlab(47.28, -40.58, 23.32)
CIE-LCHlch(47.28, 46.80, 150.12°)
OKLaboklab(53.17% -0.1093 0.0576)
OKLCHoklch(53.17% 0.124 152.2)
XYZxyz(9.5154, 16.2323, 8.5917)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228047 #80225B
analogous
#2C8022 #228047 #228076
triadic
#228047 #472280 #804722
tetradic
#228047 #222C80 #80225B #807622
square
#228047 #222C80 #80225B #807622
split-complementary
#228047 #762280 #80222C
monochromatic
#081F11 #15502C #228047 #2FB062 #4DD080

Accessibility & contrast

On white

4.95
#228047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#228047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228047
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228047#FFFFFF#000000##FFFFFF
##2280471.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807543
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228047;
/* rgb */ color: rgb(34, 128, 71);
/* oklch */ color: oklch(53.2% 0.124 152.2);
Tailwind
colors: {
  custom: {
    50: '#6ba67b',
    500: '#228047',
    950: '#000000',
  },
}
SCSS
$custom: #228047;
$custom-light: #6ba67b;
$custom-dark: #000000;
JSON
{
  "hex": "#228047",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 71
  },
  "hsl": {
    "h": 143.617,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.12358,
    "h": 152.2
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#228047
secondary
#B24B8A
accent
#47A4E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #228047

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

Preview Lab → · Contrast checker → · Palette generator →

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