#225638#225638

#225638 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.9% C 0.076 H 155.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#225638
RGBrgb(34, 86, 56)
HSLhsl(145, 43%, 24%)
HSVhsv(145, 60%, 34%)
CMYKcmyk(60.5%, 0%, 34.9%, 66.3%)
CIE-LABlab(32.44, -25.25, 12.38)
CIE-LCHlch(32.44, 28.12, 153.88°)
OKLaboklab(40.88% -0.0688 0.0313)
OKLCHoklch(40.88% 0.076 155.5)
XYZxyz(4.7009, 7.2808, 4.8982)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225638 #562240
analogous
#265622 #225638 #225652
triadic
#225638 #382256 #563822
tetradic
#225638 #222656 #562240 #565222
square
#225638 #222656 #562240 #565222
split-complementary
#225638 #522256 #562226
monochromatic
#09160E #112A1B #225638 #338255 #45AE71

Accessibility & contrast

On white

8.55
#225638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#225638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225638
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225638#FFFFFF#000000##FFFFFF
##2256381.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F36
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#12554E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #225638;
/* rgb */ color: rgb(34, 86, 56);
/* oklch */ color: oklch(40.9% 0.076 155.5);
Tailwind
colors: {
  custom: {
    50: '#62866e',
    500: '#225638',
    950: '#000000',
  },
}
SCSS
$custom: #225638;
$custom-light: #62866e;
$custom-dark: #000000;
JSON
{
  "hex": "#225638",
  "rgb": {
    "r": 34,
    "g": 86,
    "b": 56
  },
  "hsl": {
    "h": 145.385,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.40879,
    "c": 0.07554,
    "h": 155.5
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#225638
secondary
#8A4A6F
accent
#559ED3
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A

Preview Lab

Preview with #225638

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

Preview Lab → · Contrast checker → · Palette generator →

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