#227845#227845

#227845 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.114 H 153.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#227845
RGBrgb(34, 120, 69)
HSLhsl(144, 56%, 30%)
HSVhsv(144, 72%, 47%)
CMYKcmyk(71.7%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.52, -37.71, 20.84)
CIE-LCHlch(44.52, 43.09, 151.07°)
OKLaboklab(50.89% -0.1017 0.0518)
OKLCHoklch(50.89% 0.114 153)
XYZxyz(8.4496, 14.2018, 7.9250)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227845 #782255
analogous
#2A7822 #227845 #227870
triadic
#227845 #452278 #784522
tetradic
#227845 #222A78 #782255 #787022
square
#227845 #222A78 #782255 #787022
split-complementary
#227845 #702278 #78222A
monochromatic
#07190E #14482A #227845 #30A860 #49CB7E

Accessibility & contrast

On white

5.47
#227845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#227845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227845
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227845#FFFFFF#000000##FFFFFF
##2278451.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227845;
/* rgb */ color: rgb(34, 120, 69);
/* oklch */ color: oklch(50.9% 0.114 153.0);
Tailwind
colors: {
  custom: {
    50: '#69a079',
    500: '#227845',
    950: '#000000',
  },
}
SCSS
$custom: #227845;
$custom-light: #69a079;
$custom-dark: #000000;
JSON
{
  "hex": "#227845",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 144.419,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.11415,
    "h": 153
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#227845
secondary
#AB4B84
accent
#49A2DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227845

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

Preview Lab → · Contrast checker → · Palette generator →

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