#228747#228747

#228747 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.133 H 151.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#228747
RGBrgb(34, 135, 71)
HSLhsl(142, 60%, 33%)
HSVhsv(142, 75%, 53%)
CMYKcmyk(74.8%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.64, -43.34, 26.36)
CIE-LCHlch(49.64, 50.72, 148.69°)
OKLaboklab(55.12% -0.1166 0.0646)
OKLCHoklch(55.12% 0.133 151)
XYZxyz(10.4601, 18.1218, 8.9066)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228747 #872262
analogous
#308722 #228747 #228779
triadic
#228747 #472287 #874722
tetradic
#228747 #223087 #872262 #877922
square
#228747 #223087 #872262 #877922
split-complementary
#228747 #792287 #872230
monochromatic
#092514 #16562D #228747 #2EB861 #50D380

Accessibility & contrast

On white

4.54
#228747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#228747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228747
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228747#FFFFFF#000000##000000
##2287471.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B42
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228747;
/* rgb */ color: rgb(34, 135, 71);
/* oklch */ color: oklch(55.1% 0.133 151.0);
Tailwind
colors: {
  custom: {
    50: '#6dab7b',
    500: '#228747',
    950: '#000000',
  },
}
SCSS
$custom: #228747;
$custom-light: #6dab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228747",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 141.98,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.13332,
    "h": 151
  },
  "luminance": 0.18123
}

Semantic roles & 50–950 ramp

primary
#228747
secondary
#B74E90
accent
#45A9E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228747

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

Preview Lab → · Contrast checker → · Palette generator →

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