#227045#227045

#227045 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.102 H 155.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#227045
RGBrgb(34, 112, 69)
HSLhsl(147, 53%, 29%)
HSVhsv(147, 70%, 44%)
CMYKcmyk(69.6%, 0%, 38.4%, 56.1%)
CIE-LABlab(41.78, -34.33, 17.21)
CIE-LCHlch(41.78, 38.40, 153.38°)
OKLaboklab(48.63% -0.0929 0.0431)
OKLCHoklch(48.63% 0.102 155.1)
XYZxyz(7.5274, 12.3573, 7.6176)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227045 #70224D
analogous
#267022 #227045 #22706C
triadic
#227045 #452270 #704522
tetradic
#227045 #222670 #70224D #706C22
square
#227045 #222670 #70224D #706C22
split-complementary
#227045 #6C2270 #702226
monochromatic
#07170E #144128 #227045 #309F62 #46C780

Accessibility & contrast

On white

6.05
#227045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#227045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227045
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227045#FFFFFF#000000##FFFFFF
##2270451.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#006F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227045;
/* rgb */ color: rgb(34, 112, 69);
/* oklch */ color: oklch(48.6% 0.102 155.1);
Tailwind
colors: {
  custom: {
    50: '#689a79',
    500: '#227045',
    950: '#000000',
  },
}
SCSS
$custom: #227045;
$custom-light: #689a79;
$custom-dark: #000000;
JSON
{
  "hex": "#227045",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 146.923,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.10244,
    "h": 155.1
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#227045
secondary
#A34A7B
accent
#4B9BDD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227045

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

Preview Lab → · Contrast checker → · Palette generator →

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