#227143#227143

#227143 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.106 H 153.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#227143
RGBrgb(34, 113, 67)
HSLhsl(145, 54%, 29%)
HSVhsv(145, 70%, 44%)
CMYKcmyk(69.9%, 0%, 40.7%, 55.7%)
CIE-LABlab(42.08, -35.17, 18.77)
CIE-LCHlch(42.08, 39.87, 151.91°)
OKLaboklab(48.87% -0.095 0.0468)
OKLCHoklch(48.87% 0.106 153.8)
XYZxyz(7.5773, 12.5548, 7.3331)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227143 #712250
analogous
#297122 #227143 #22716B
triadic
#227143 #432271 #714322
tetradic
#227143 #222971 #712250 #716B22
square
#227143 #222971 #712250 #716B22
split-complementary
#227143 #6B2271 #712229
monochromatic
#07180E #144227 #227143 #30A05F #46C77C

Accessibility & contrast

On white

5.98
#227143 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#227143 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227143
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227143#FFFFFF#000000##FFFFFF
##2271431.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716840
Deuteranopia (green-blind)
#676046
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227143;
/* rgb */ color: rgb(34, 113, 67);
/* oklch */ color: oklch(48.9% 0.106 153.8);
Tailwind
colors: {
  custom: {
    50: '#689a77',
    500: '#227143',
    950: '#000000',
  },
}
SCSS
$custom: #227143;
$custom-light: #689a77;
$custom-dark: #000000;
JSON
{
  "hex": "#227143",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 67
  },
  "hsl": {
    "h": 145.063,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.10596,
    "h": 153.8
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#227143
secondary
#A44A7F
accent
#4BA0DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227143

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

Preview Lab → · Contrast checker → · Palette generator →

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