#228143#228143

#228143 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.129 H 150.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228143
RGBrgb(34, 129, 67)
HSLhsl(141, 58%, 32%)
HSVhsv(141, 74%, 51%)
CMYKcmyk(73.6%, 0%, 48.1%, 49.4%)
CIE-LABlab(47.55, -41.71, 25.87)
CIE-LCHlch(47.55, 49.08, 148.19°)
OKLaboklab(53.38% -0.1123 0.0634)
OKLCHoklch(53.38% 0.129 150.6)
XYZxyz(9.5223, 16.4448, 7.9814)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228143 #812260
analogous
#318122 #228143 #228173
triadic
#228143 #432281 #814322
tetradic
#228143 #223181 #812260 #817322
square
#228143 #223181 #812260 #817322
split-complementary
#228143 #732281 #812231
monochromatic
#082011 #15512A #228143 #2FB15C #4DD07B

Accessibility & contrast

On white

4.90
#228143 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#228143 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228143
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228143#FFFFFF#000000##FFFFFF
##2281431.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763E
Deuteranopia (green-blind)
#766E47
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228143;
/* rgb */ color: rgb(34, 129, 67);
/* oklch */ color: oklch(53.4% 0.129 150.6);
Tailwind
colors: {
  custom: {
    50: '#6ba678',
    500: '#228143',
    950: '#000000',
  },
}
SCSS
$custom: #228143;
$custom-light: #6ba678;
$custom-dark: #000000;
JSON
{
  "hex": "#228143",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 67
  },
  "hsl": {
    "h": 140.842,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.12891,
    "h": 150.6
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#228143
secondary
#B34B8F
accent
#46ACE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228143

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

Preview Lab → · Contrast checker → · Palette generator →

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