#227945#227945

#227945 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.116 H 152.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#227945
RGBrgb(34, 121, 69)
HSLhsl(144, 56%, 30%)
HSVhsv(144, 72%, 47%)
CMYKcmyk(71.9%, 0%, 43%, 52.5%)
CIE-LABlab(44.86, -38.13, 21.29)
CIE-LCHlch(44.86, 43.67, 150.82°)
OKLaboklab(51.17% -0.1028 0.0528)
OKLCHoklch(51.17% 0.116 152.8)
XYZxyz(8.5705, 14.4436, 7.9653)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227945 #792256
analogous
#2A7922 #227945 #227970
triadic
#227945 #452279 #794522
tetradic
#227945 #222A79 #792256 #797022
square
#227945 #222A79 #792256 #797022
split-complementary
#227945 #702279 #79222A
monochromatic
#07190F #15492A #227945 #2FA960 #49CC7E

Accessibility & contrast

On white

5.40
#227945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#227945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227945
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227945#FFFFFF#000000##FFFFFF
##2279451.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F41
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227945;
/* rgb */ color: rgb(34, 121, 69);
/* oklch */ color: oklch(51.2% 0.116 152.8);
Tailwind
colors: {
  custom: {
    50: '#6aa079',
    500: '#227945',
    950: '#000000',
  },
}
SCSS
$custom: #227945;
$custom-light: #6aa079;
$custom-dark: #000000;
JSON
{
  "hex": "#227945",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 144.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.11559,
    "h": 152.8
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#227945
secondary
#AC4B85
accent
#48A3DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227945

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

Preview Lab → · Contrast checker → · Palette generator →

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