#227145#227145

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

Color values

HEX#227145
RGBrgb(34, 113, 69)
HSLhsl(147, 54%, 29%)
HSVhsv(147, 70%, 44%)
CMYKcmyk(69.9%, 0%, 38.9%, 55.7%)
CIE-LABlab(42.12, -34.76, 17.67)
CIE-LCHlch(42.12, 38.99, 153.06°)
OKLaboklab(48.91% -0.094 0.0442)
OKLCHoklch(48.91% 0.104 154.8)
XYZxyz(7.6383, 12.5792, 7.6545)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227145 #71224E
analogous
#277122 #227145 #22716D
triadic
#227145 #452271 #714522
tetradic
#227145 #222771 #71224E #716D22
square
#227145 #222771 #71224E #716D22
split-complementary
#227145 #6D2271 #712227
monochromatic
#07180E #144228 #227145 #30A062 #46C77F

Accessibility & contrast

On white

5.97
#227145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#227145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227145
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227145#FFFFFF#000000##FFFFFF
##2271451.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227145;
/* rgb */ color: rgb(34, 113, 69);
/* oklch */ color: oklch(48.9% 0.104 154.8);
Tailwind
colors: {
  custom: {
    50: '#689a79',
    500: '#227145',
    950: '#000000',
  },
}
SCSS
$custom: #227145;
$custom-light: #689a79;
$custom-dark: #000000;
JSON
{
  "hex": "#227145",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 146.582,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.10392,
    "h": 154.8
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#227145
secondary
#A44A7D
accent
#4B9CDD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227145

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

Preview Lab → · Contrast checker → · Palette generator →

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